diff -r ed84c8bdd87b -r 62851e21b71c 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 Tue Sep 13 18:37:08 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; + } }