Updated log levels
This commit is contained in:
parent
78e4e108c3
commit
35af69def3
1 changed files with 8 additions and 3 deletions
|
|
@ -64,8 +64,11 @@ public class CoderClient extends Application{
|
|||
public void start(Stage mainStage) throws Exception {
|
||||
|
||||
//setup logging
|
||||
LogUtil.setGlobalLevel(Level.FINE);
|
||||
LogUtil.setGlobalFormatter(new CompactLogFormatter());
|
||||
CompactLogFormatter formatter = new CompactLogFormatter();
|
||||
LogUtil.setLevel("com.coder", Level.FINE);
|
||||
LogUtil.setFormatter("com.coder", formatter);
|
||||
LogUtil.setLevel("zutil", Level.FINE);
|
||||
LogUtil.setFormatter("com.coder", formatter);
|
||||
|
||||
//setup GUI elements
|
||||
this.mainStage = mainStage;
|
||||
|
|
@ -423,7 +426,9 @@ public class CoderClient extends Application{
|
|||
selectServerDialog.addServerToList(ip);
|
||||
}
|
||||
});
|
||||
}
|
||||
} else {
|
||||
logger.warning("New Service found ("+service.getLocation()+") when stage closed.");
|
||||
}
|
||||
}
|
||||
});
|
||||
ssdpClient.start();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue