Skip to content

Commit 0408eb4

Browse files
committed
Add profile to ConfigFileApplicationListener log
Fixes spring-projectsgh-1948
1 parent 25c5613 commit 0408eb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-boot/src/main/java/org/springframework/boot/context/config/ConfigFileApplicationListener.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ private PropertySource<?> loadIntoGroup(String identifier, String location,
391391
msg.append(propertySource == null ? "Skipped " : "Loaded ");
392392
msg.append("config file ");
393393
msg.append("'" + location + "' ");
394-
msg.append(StringUtils.hasLength(profile) ? "for profile " : "");
394+
msg.append(StringUtils.hasLength(profile) ? "for profile " + profile : "");
395395
msg.append(resource == null || !resource.exists() ? "resource not found" : "");
396396
this.debug.add(msg);
397397

0 commit comments

Comments
 (0)