Changed trace levels

Former-commit-id: d8128f8adf18824144268c5380019938388ac485
This commit is contained in:
Ziver Koc 2015-12-09 17:24:01 +01:00
parent 6b272cd5a9
commit a0f2dd736a

View file

@ -27,8 +27,12 @@ public class PowerChallenge {
public static void main(String[] args) throws Exception {
// init logging
LogUtil.setGlobalLevel(Level.ALL);
LogUtil.setGlobalFormatter(new CompactLogFormatter());
CompactLogFormatter formatter = new CompactLogFormatter();
LogUtil.setLevel("se.koc.hal", Level.FINEST);
LogUtil.setFormatter("se.koc.hal", formatter);
LogUtil.setLevel("zutil", Level.FINEST);
LogUtil.setFormatter("zutil", formatter);
LogUtil.setGlobalFormatter(formatter);
// init DB and other configurations
HalContext.initialize();