Fixed logging

This commit is contained in:
Nanit 2022-02-07 11:31:37 +02:00
parent f726a21e2c
commit 021d0a18a5
2 changed files with 4 additions and 4 deletions

View File

@ -64,7 +64,7 @@ public final class LimboConfig {
private InfoForwarding infoForwarding; private InfoForwarding infoForwarding;
private long readTimeout; private long readTimeout;
private int debugLevel = 3; private int debugLevel;
private boolean useEpoll; private boolean useEpoll;
private int bossGroupSize; private int bossGroupSize;

View File

@ -23,7 +23,7 @@ import java.time.format.DateTimeFormatter;
public final class Logger { public final class Logger {
private static final DateTimeFormatter FORMATTER = DateTimeFormatter.ofPattern("hh:mm:ss"); private static final DateTimeFormatter FORMATTER = DateTimeFormatter.ofPattern("hh:mm:ss");
private static int debugLevel = Level.ERROR.getIndex(); private static int debugLevel = Level.INFO.getIndex();
private Logger() {} private Logger() {}
@ -78,8 +78,8 @@ public final class Logger {
ERROR("ERROR", 0), ERROR("ERROR", 0),
WARNING("WARNING", 1), WARNING("WARNING", 1),
INFO ("INFO", 2), INFO("INFO", 2),
DEBUG ("DEBUG", 3); DEBUG("DEBUG", 3);
private final String display; private final String display;
private final int index; private final int index;