Improving logging

This commit is contained in:
Max Dor
2019-03-01 01:12:02 +01:00
parent 95ee328281
commit 96155c1876
2 changed files with 8 additions and 0 deletions

View File

@@ -52,6 +52,12 @@ public class HttpMxisd {
// I/O
private Undertow httpSrv;
static {
// Used in XNIO package, dependency of Undertow
// We switch to slf4j
System.setProperty("org.jboss.logging.provider", "slf4j");
}
public HttpMxisd(MxisdConfig cfg) {
m = new Mxisd(cfg);
}

View File

@@ -0,0 +1,2 @@
org.slf4j.simpleLogger.logFile=System.out
org.slf4j.simpleLogger.log.org.xnio=warn