Skip to content

Commit

Permalink
log level is offset for some reason
Browse files Browse the repository at this point in the history
  • Loading branch information
burdoto committed Mar 24, 2024
1 parent b384474 commit 390b8ee
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ public RabbitAppender(MCSD_Spigot plugin) {

@Override
public void append(LogEvent event) {
if (event.getLevel().intLevel() < plugin.getConsoleLevel().intValue())
return;
//if (event.getLevel().intLevel() < plugin.getConsoleLevel().intValue()) return;
Calendar calendar = Calendar.getInstance();
calendar.setTimeInMillis(event.getTimeMillis());
var str = "[%tT %s] [%s]: %s".formatted(
Expand Down

0 comments on commit 390b8ee

Please sign in to comment.