forked from I2P_Developers/i2p.i2p
log all jetty warns as errors
This commit is contained in:
@@ -102,10 +102,11 @@ public class I2PLogger implements Logger
|
|||||||
|
|
||||||
public void warn(String msg, Throwable th)
|
public void warn(String msg, Throwable th)
|
||||||
{
|
{
|
||||||
if (th instanceof RuntimeException || th instanceof Error)
|
// This doesn't cover ClassNotFoundException, etc.
|
||||||
|
//if (th instanceof RuntimeException || th instanceof Error)
|
||||||
_log.error(msg, th);
|
_log.error(msg, th);
|
||||||
else
|
//else
|
||||||
_log.warn(msg,th);
|
// _log.warn(msg,th);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void format(String msg, Object arg0, Object arg1)
|
private void format(String msg, Object arg0, Object arg1)
|
||||||
|
Reference in New Issue
Block a user