Skip to content

Commit 10485af

Browse files
committed
When logging ConfigurationSource only use the simpleName
I think that is sufficient to identify the source and the full name seems a tad ugly for my liking
1 parent 3eaddfa commit 10485af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

avaje-config/src/main/java/io/avaje/config/CoreConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ void initSystemProperties() {
123123
private void loadSources(Set<String> names) {
124124
for (ConfigurationSource source : sources) {
125125
source.load(this);
126-
names.add("ConfigurationSource:" + source.getClass().getCanonicalName());
126+
names.add("ConfigurationSource:" + source.getClass().getSimpleName());
127127
}
128128
}
129129

0 commit comments

Comments
 (0)