Changeset 51f7f3a for apps/jetty


Ignore:
Timestamp:
Jan 10, 2012 3:40:53 AM (8 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
3024b3f
Parents:
7feaadb
Message:

log all jetty warns as errors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/jetty/java/src/net/i2p/jetty/I2PLogger.java

    r7feaadb r51f7f3a  
    103103    public void warn(String msg, Throwable th)
    104104    {
    105         if (th instanceof RuntimeException || th instanceof Error)
     105        // This doesn't cover ClassNotFoundException, etc.
     106        //if (th instanceof RuntimeException || th instanceof Error)
    106107            _log.error(msg, th);
    107         else
    108             _log.warn(msg,th);
     108        //else
     109        //    _log.warn(msg,th);
    109110    }
    110111   
Note: See TracChangeset for help on using the changeset viewer.