From: David ‘Bombe’ Roden Date: Tue, 12 Oct 2010 07:21:01 +0000 (+0200) Subject: Initialize logging. X-Git-Tag: 0.1-RC1~544 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=e86e9e09387b960278b71e5c009e414fd43c5f89;p=Sone.git Initialize logging. --- 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 //