mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Refine log message
Rework c03e14b
to avoid an extra empty space in log message
See gh-3033
This commit is contained in:
parent
c03e14bee4
commit
676b7d713a
@ -391,9 +391,9 @@ public class ConfigFileApplicationListener implements
|
||||
StringBuilder msg = new StringBuilder();
|
||||
msg.append(propertySource == null ? "Skipped " : "Loaded ");
|
||||
msg.append("config file ");
|
||||
msg.append("'" + location + "' ");
|
||||
msg.append(StringUtils.hasLength(profile) ? "for profile " + profile : "");
|
||||
msg.append(resource == null || !resource.exists() ? " resource not found" : "");
|
||||
msg.append("'").append(location).append("' ");
|
||||
msg.append(StringUtils.hasLength(profile) ? "for profile " + profile : " ");
|
||||
msg.append(resource == null || !resource.exists() ? "resource not found" : "");
|
||||
this.debug.add(msg);
|
||||
|
||||
return propertySource;
|
||||
|
Loading…
Reference in New Issue
Block a user