Skip to content

Commit

Permalink
Fixed logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Nan1t committed Feb 7, 2022
1 parent f726a21 commit 021d0a1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public final class LimboConfig {

private InfoForwarding infoForwarding;
private long readTimeout;
private int debugLevel = 3;
private int debugLevel;

private boolean useEpoll;
private int bossGroupSize;
Expand Down
6 changes: 3 additions & 3 deletions src/main/java/ru/nanit/limbo/server/Logger.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
public final class Logger {

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() {}

Expand Down Expand Up @@ -78,8 +78,8 @@ public enum Level {

ERROR("ERROR", 0),
WARNING("WARNING", 1),
INFO ("INFO", 2),
DEBUG ("DEBUG", 3);
INFO("INFO", 2),
DEBUG("DEBUG", 3);

private final String display;
private final int index;
Expand Down

0 comments on commit 021d0a1

Please sign in to comment.