From e86e9e09387b960278b71e5c009e414fd43c5f89 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Tue, 12 Oct 2010 09:21:01 +0200 Subject: [PATCH] Initialize logging. --- src/main/java/net/pterodactylus/sone/main/SonePlugin.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main/java/net/pterodactylus/sone/main/SonePlugin.java b/src/main/java/net/pterodactylus/sone/main/SonePlugin.java index 97075db..a9f4928 100644 --- a/src/main/java/net/pterodactylus/sone/main/SonePlugin.java +++ b/src/main/java/net/pterodactylus/sone/main/SonePlugin.java @@ -17,6 +17,7 @@ package net.pterodactylus.sone.main; +import net.pterodactylus.util.logging.Logging; import freenet.pluginmanager.FredPlugin; import freenet.pluginmanager.PluginRespirator; @@ -28,6 +29,11 @@ import freenet.pluginmanager.PluginRespirator; */ public class SonePlugin implements FredPlugin { + static { + /* initialize logging. */ + Logging.setup("sone"); + } + // // FREDPLUGIN METHODS // -- 2.7.4