cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amicha...@apache.org
Subject svn commit: r882595 - /cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/ext/logging/atom/AtomPushBean.java
Date Fri, 20 Nov 2009 15:08:52 GMT
Author: amichalec
Date: Fri Nov 20 15:08:51 2009
New Revision: 882595

URL: http://svn.apache.org/viewvc?rev=882595&view=rev
Log:
PMD check fix

Modified:
    cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/ext/logging/atom/AtomPushBean.java

Modified: cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/ext/logging/atom/AtomPushBean.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/ext/logging/atom/AtomPushBean.java?rev=882595&r1=882594&r2=882595&view=diff
==============================================================================
--- cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/ext/logging/atom/AtomPushBean.java
(original)
+++ cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/ext/logging/atom/AtomPushBean.java
Fri Nov 20 15:08:51 2009
@@ -25,6 +25,7 @@
 import java.util.logging.Logger;
 
 import org.apache.commons.lang.Validate;
+import org.apache.cxf.common.logging.LogUtils;
 import org.apache.cxf.jaxrs.ext.logging.LogLevel;
 
 /**
@@ -196,7 +197,7 @@
         initialized = true;
         Handler h = new AtomPushHandler(conf.createEngine());
         for (int i = 0; i < loggers.size(); i++) {
-            Logger l = Logger.getLogger(loggers.get(i).getLogger());
+            Logger l = LogUtils.getL7dLogger(AtomPushBean.class, null, loggers.get(i).getLogger());
             l.addHandler(h);
             l.setLevel(LogLevel.toJUL(LogLevel.valueOf(loggers.get(i).getLevel())));
         }



Mime
View raw message