diff -r ed84c8bdd87b -r 41d6c0cac8b3 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 Thu Oct 13 03:09:22 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; + } }