Skip to content

Commit

Permalink
minor change of enable logs
Browse files Browse the repository at this point in the history
  • Loading branch information
xGinko committed Jan 2, 2025
1 parent ba63930 commit 11fbb14
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 @@ -134,15 +134,15 @@ public void onEnable() {
prefixedLogger.info("Registering Commands");
AEFCommand.registerCommands();

prefixedLogger.info("Preparing NBT-API");
prefixedLogger.info("Loading NBT-API");
// Hide all messages with a log level lower than WARNING because of the same reason as Reflections logging.
Logger.getLogger("NBTAPI").setLevel(java.util.logging.Level.WARNING);
if (!NBT.preloadApi()) prefixedLogger.error("Error initializing NBT-API! This will break some modules!");

prefixedLogger.info("Loading Metrics");
metrics = new Metrics(this, 8700);

prefixedLogger.info("Ready.");
prefixedLogger.info("Done.");
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,15 +144,15 @@ public void onEnable() {
prefixedLogger.info("Registering Commands");
AEFCommand.registerCommands();

prefixedLogger.info("Preparing NBT-API");
prefixedLogger.info("Loading NBT-API");
// Hide all messages with a log level lower than WARNING because of the same reason as Reflections logging.
java.util.logging.Logger.getLogger("NBTAPI").setLevel(java.util.logging.Level.WARNING);
if (!NBT.preloadApi()) prefixedLogger.error("Error initializing NBT-API! This will break some modules!");

prefixedLogger.info("Loading Metrics");
metrics = new Metrics(this, 8700);

prefixedLogger.info("Ready.");
prefixedLogger.info("Done.");
}

@Override
Expand Down

0 comments on commit 11fbb14

Please sign in to comment.