forked from I2P_Developers/i2p.i2p
i2psnark standalone: Pass ctx to logger
This commit is contained in:
@ -35,7 +35,7 @@ public class RunStandalone {
|
|||||||
// Do this after we have a context
|
// Do this after we have a context
|
||||||
// To take effect, must be set before any Jetty classes are loaded
|
// To take effect, must be set before any Jetty classes are loaded
|
||||||
try {
|
try {
|
||||||
Log.setLog(new I2PLogger());
|
Log.setLog(new I2PLogger(_context));
|
||||||
} catch (Throwable t) {
|
} catch (Throwable t) {
|
||||||
System.err.println("INFO: I2P Jetty logging class not found, logging to stdout");
|
System.err.println("INFO: I2P Jetty logging class not found, logging to stdout");
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user