diff --git a/src/main/java/eu/m724/realweather/RealWeatherPlugin.java b/src/main/java/eu/m724/realweather/RealWeatherPlugin.java index fd63d9c..9f204df 100644 --- a/src/main/java/eu/m724/realweather/RealWeatherPlugin.java +++ b/src/main/java/eu/m724/realweather/RealWeatherPlugin.java @@ -68,12 +68,7 @@ public class RealWeatherPlugin extends MStatsPlugin { } DebugLogger.logger = getLogger(); - - if (configuration.getBoolean("debug")) { - getLogger().setLevel(Level.FINEST); - DebugLogger.warning("Debug harms performance"); - } - + getLogger().setLevel(configuration.getBoolean("debug") ? Level.FINEST : Level.INFO); if (firstRun) { DebugLogger.warning("This is your first time running this plugin.");