diff --git a/api/src/main/java/net/md_5/bungee/api/plugin/PluginLogger.java b/api/src/main/java/net/md_5/bungee/api/plugin/PluginLogger.java index d6a6ee314..118fb711c 100644 --- a/api/src/main/java/net/md_5/bungee/api/plugin/PluginLogger.java +++ b/api/src/main/java/net/md_5/bungee/api/plugin/PluginLogger.java @@ -13,13 +13,12 @@ public class PluginLogger extends Logger { super( plugin.getClass().getCanonicalName(), null ); pluginName = "[" + plugin.getDescription().getName() + "] "; - setParent( ProxyServer.getInstance().getLogger() ); } @Override public void log(LogRecord logRecord) { logRecord.setMessage( pluginName + logRecord.getMessage() ); - super.log( logRecord ); + ProxyServer.getInstance().getLogger().log( logRecord ); } }