Changeset 51911bd for apps/jetty


Ignore:
Timestamp:
Mar 12, 2014 12:25:30 PM (6 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
96b4c6b
Parents:
1f5926e
Message:

fix jetty deprecations

File:
1 edited

Legend:

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

    r1f5926e r51911bd  
    406406        catch (IOException e)
    407407        {
    408             Log.warn(e);
     408            Log.getLogger((String)null).warn(e);
    409409        }
    410410       
     
    450450            _fileOut = new RolloverFileOutputStream(_filename,_append,_retainDays,TimeZone.getTimeZone(_logTimeZone),_filenameDateFormat,null);
    451451            _closeOut = true;
    452             Log.info("Opened "+getDatedFilename());
     452            Log.getLogger((String)null).info("Opened "+getDatedFilename());
    453453        }
    454454        else
     
    476476    {
    477477        super.doStop();
    478         try {if (_writer != null) _writer.flush();} catch (IOException e) {Log.ignore(e);}
     478        try {if (_writer != null) _writer.flush();} catch (IOException e) {Log.getLogger((String)null).ignore(e);}
    479479        if (_out != null && _closeOut)
    480             try {_out.close();} catch (IOException e) {Log.ignore(e);}
     480            try {_out.close();} catch (IOException e) {Log.getLogger((String)null).ignore(e);}
    481481           
    482482        _out = null;
Note: See TracChangeset for help on using the changeset viewer.