Commit 6bc498cb authored by Madhura Bhave's avatar Madhura Bhave

Polish

parent 31101bdb
...@@ -304,10 +304,10 @@ public class LoggingApplicationListener implements GenericApplicationListener { ...@@ -304,10 +304,10 @@ public class LoggingApplicationListener implements GenericApplicationListener {
} }
Binder binder = Binder.get(environment); Binder binder = Binder.get(environment);
binder.bind("logging.level", STRING_STRING_MAP).orElseGet(Collections::emptyMap) binder.bind("logging.level", STRING_STRING_MAP).orElseGet(Collections::emptyMap)
.forEach((name, level) -> setLogLevel(system, environment, name, level)); .forEach((name, level) -> setLogLevel(system, name, level));
} }
private void setLogLevel(LoggingSystem system, Environment environment, String name, private void setLogLevel(LoggingSystem system, String name,
String level) { String level) {
try { try {
name = (name.equalsIgnoreCase(LoggingSystem.ROOT_LOGGER_NAME) ? null : name); name = (name.equalsIgnoreCase(LoggingSystem.ROOT_LOGGER_NAME) ? null : name);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment