List of usage examples for org.springframework.boot.logging LoggingSystem ROOT_LOGGER_NAME
String ROOT_LOGGER_NAME
To view the source code for org.springframework.boot.logging LoggingSystem ROOT_LOGGER_NAME.
Click Source Link
From source file:org.springframework.boot.context.logging.LoggingApplicationListener.java
private void setLogLevel(LoggingSystem system, String name, String level) { try {//from w w w .j a v a 2 s . c om name = name.equalsIgnoreCase(LoggingSystem.ROOT_LOGGER_NAME) ? null : name; system.setLogLevel(name, coerceLogLevel(level)); } catch (RuntimeException ex) { this.logger.error("Cannot set level: " + level + " for '" + name + "'"); } }