diff -r ed84c8bdd87b -r 7f84f4de2893 src/org/sonews/util/Log.java --- a/src/org/sonews/util/Log.java Sun Aug 29 17:28:58 2010 +0200 +++ b/src/org/sonews/util/Log.java Mon Jun 06 20:12:21 2011 +0200 @@ -33,25 +33,24 @@ public class Log extends Logger { - private static Log instance = new Log(); + private static Log instance = new Log(); - private Log() - { - super("org.sonews", null); + private Log() + { + super("org.sonews", null); - StreamHandler handler = new StreamHandler(System.out, new SimpleFormatter()); - Level level = Level.parse(Config.inst().get(Config.LOGLEVEL, "INFO")); - handler.setLevel(level); - addHandler(handler); - setLevel(level); - LogManager.getLogManager().addLogger(this); - } + StreamHandler handler = new StreamHandler(System.out, new SimpleFormatter()); + Level level = Level.parse(Config.inst().get(Config.LOGLEVEL, "INFO")); + handler.setLevel(level); + addHandler(handler); + setLevel(level); + LogManager.getLogManager().addLogger(this); + } - public static Logger get() - { - Level level = Level.parse(Config.inst().get(Config.LOGLEVEL, "INFO")); - instance.setLevel(level); - return instance; - } - + public static Logger get() + { + Level level = Level.parse(Config.inst().get(Config.LOGLEVEL, "INFO")); + instance.setLevel(level); + return instance; + } }