You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by cl...@apache.org on 2010/01/08 19:36:47 UTC

svn commit: r897290 - /cxf/trunk/common/common/src/main/java/org/apache/cxf/common/logging/LogUtils.java

Author: cleclerc
Date: Fri Jan  8 18:36:46 2010
New Revision: 897290

URL: http://svn.apache.org/viewvc?rev=897290&view=rev
Log:
[CXF-2610] trim logger class name

Modified:
    cxf/trunk/common/common/src/main/java/org/apache/cxf/common/logging/LogUtils.java

Modified: cxf/trunk/common/common/src/main/java/org/apache/cxf/common/logging/LogUtils.java
URL: http://svn.apache.org/viewvc/cxf/trunk/common/common/src/main/java/org/apache/cxf/common/logging/LogUtils.java?rev=897290&r1=897289&r2=897290&view=diff
==============================================================================
--- cxf/trunk/common/common/src/main/java/org/apache/cxf/common/logging/LogUtils.java (original)
+++ cxf/trunk/common/common/src/main/java/org/apache/cxf/common/logging/LogUtils.java Fri Jan  8 18:36:46 2010
@@ -91,7 +91,7 @@
                 }
             }
             if (!StringUtils.isEmpty(cname)) {
-                loggerClass = Class.forName(cname, true,
+                loggerClass = Class.forName(cname.trim(), true,
                                             Thread.currentThread().getContextClassLoader());
                 getLogger(LogUtils.class).fine("Using " + loggerClass.getName() + " for logging.");
             }