Found the annoying issue, had to change run() to start() now it kinda works

This commit is contained in:
Seraina
2022-04-09 17:55:27 +02:00
parent 1de2e739de
commit d3a0c00dea
7 changed files with 22 additions and 13 deletions

View File

@@ -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.
}