HERE THE CHAT WORKS WELL GO HERE TO GET IT!
This commit is contained in:
parent
802b8d1154
commit
d7f12d760d
@ -19,7 +19,7 @@ public class BudaLogConfig {
|
||||
LoggerContext ctx = (LoggerContext) LogManager.getContext(false);
|
||||
Configuration config = ctx.getConfiguration();
|
||||
LoggerConfig loggerConfig = config.getLoggerConfig(LogManager.ROOT_LOGGER_NAME);
|
||||
loggerConfig.setLevel(Level.DEBUG); // change level here
|
||||
loggerConfig.setLevel(Level.INFO); // change level here
|
||||
ctx.updateLoggers(); // This causes all Loggers to refetch information from their LoggerConfig.
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user