updated logging
Former-commit-id: b1bec201615fac36b7aa553fe806bc68535ac0ed
This commit is contained in:
parent
5fdb307f85
commit
946511aaab
2 changed files with 20 additions and 3 deletions
|
|
@ -34,13 +34,15 @@ public class HalServer {
|
|||
|
||||
public static void main(String[] args) throws Exception {
|
||||
// init logging
|
||||
CompactLogFormatter formatter = new CompactLogFormatter();
|
||||
LogUtil.readConfiguration("logging.properties");
|
||||
/*CompactLogFormatter formatter = new CompactLogFormatter();
|
||||
LogUtil.setLevel("se.hal", Level.FINEST);
|
||||
LogUtil.setFormatter("se.hal", formatter);
|
||||
LogUtil.setLevel("zutil", Level.FINEST);
|
||||
LogUtil.setLevel("zutil.db.bean", Level.INFO);
|
||||
LogUtil.setLevel("zutil.net.http.pages", Level.INFO);
|
||||
LogUtil.setLevel("zutil", Level.FINEST);
|
||||
LogUtil.setFormatter("zutil", formatter);
|
||||
LogUtil.setGlobalFormatter(formatter);
|
||||
LogUtil.setGlobalFormatter(formatter);*/
|
||||
|
||||
// init Managers
|
||||
HalContext.initialize();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue