From: David ‘Bombe’ Roden Date: Wed, 5 Nov 2014 06:07:23 +0000 (+0100) Subject: Don’t log to the root logger. X-Git-Tag: 0.9-rc1^2~3^2~37 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=d74201ece068d856f7b102cc997b729c9e810c9a;p=Sone.git Don’t log to the root logger. --- diff --git a/src/main/java/net/pterodactylus/sone/main/SonePlugin.java b/src/main/java/net/pterodactylus/sone/main/SonePlugin.java index 957103b..f6fc60a 100644 --- a/src/main/java/net/pterodactylus/sone/main/SonePlugin.java +++ b/src/main/java/net/pterodactylus/sone/main/SonePlugin.java @@ -87,6 +87,7 @@ public class SonePlugin implements FredPlugin, FredPluginFCP, FredPluginL10n, Fr static { /* initialize logging. */ Logger soneLogger = getLogger("Sone"); + soneLogger.setUseParentHandlers(false); soneLogger.addHandler(new Handler() { @Override public void publish(LogRecord logRecord) {