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 {
|
public void start(Stage mainStage) throws Exception {
|
||||||
|
|
||||||
//setup logging
|
//setup logging
|
||||||
LogUtil.setGlobalLevel(Level.FINE);
|
CompactLogFormatter formatter = new CompactLogFormatter();
|
||||||
LogUtil.setGlobalFormatter(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
|
//setup GUI elements
|
||||||
this.mainStage = mainStage;
|
this.mainStage = mainStage;
|
||||||
|
|
@ -423,7 +426,9 @@ public class CoderClient extends Application{
|
||||||
selectServerDialog.addServerToList(ip);
|
selectServerDialog.addServerToList(ip);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
} else {
|
||||||
|
logger.warning("New Service found ("+service.getLocation()+") when stage closed.");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
ssdpClient.start();
|
ssdpClient.start();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue