Skip to content

Commit

Permalink
Log env resolution at TRACE
Browse files Browse the repository at this point in the history
  • Loading branch information
ppalaga committed Nov 9, 2020
1 parent 2b6f604 commit 734fe6a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -511,15 +511,15 @@ String get() {
}
}
final String result = valueSource.valueSupplier.get();
if (result != null && LOG.isDebugEnabled()) {
if (result != null && LOG.isTraceEnabled()) {
StringBuilder sb = new StringBuilder("Loaded environment value for key [")
.append(envKey.name())
.append("] from ");
valueSource.descriptionFunction.apply(sb);
sb.append(": [")
.append(result)
.append(']');
LOG.debug(sb.toString());
LOG.trace(sb.toString());
}
return result;
}
Expand Down

0 comments on commit 734fe6a

Please sign in to comment.