From 51911bd9a88be7af6c0611382c8827a6138b272c Mon Sep 17 00:00:00 2001
From: zzz <zzz@mail.i2p>
Date: Wed, 12 Mar 2014 12:25:30 +0000
Subject: [PATCH] fix jetty deprecations

---
 apps/jetty/java/src/net/i2p/jetty/I2PRequestLog.java | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/apps/jetty/java/src/net/i2p/jetty/I2PRequestLog.java b/apps/jetty/java/src/net/i2p/jetty/I2PRequestLog.java
index 59f4a41cd5..ab4b606f9a 100644
--- a/apps/jetty/java/src/net/i2p/jetty/I2PRequestLog.java
+++ b/apps/jetty/java/src/net/i2p/jetty/I2PRequestLog.java
@@ -405,7 +405,7 @@ public class I2PRequestLog extends AbstractLifeCycle implements RequestLog
         } 
         catch (IOException e) 
         {
-            Log.warn(e);
+            Log.getLogger((String)null).warn(e);
         }
         
     }
@@ -449,7 +449,7 @@ public class I2PRequestLog extends AbstractLifeCycle implements RequestLog
         {
             _fileOut = new RolloverFileOutputStream(_filename,_append,_retainDays,TimeZone.getTimeZone(_logTimeZone),_filenameDateFormat,null);
             _closeOut = true;
-            Log.info("Opened "+getDatedFilename());
+            Log.getLogger((String)null).info("Opened "+getDatedFilename());
         }
         else 
             _fileOut = System.err;
@@ -475,9 +475,9 @@ public class I2PRequestLog extends AbstractLifeCycle implements RequestLog
     protected void doStop() throws Exception
     {
         super.doStop();
-        try {if (_writer != null) _writer.flush();} catch (IOException e) {Log.ignore(e);}
+        try {if (_writer != null) _writer.flush();} catch (IOException e) {Log.getLogger((String)null).ignore(e);}
         if (_out != null && _closeOut) 
-            try {_out.close();} catch (IOException e) {Log.ignore(e);}
+            try {_out.close();} catch (IOException e) {Log.getLogger((String)null).ignore(e);}
             
         _out = null;
         _fileOut = null;
-- 
GitLab