cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject svn commit: r1242729 - /cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/ProviderFactory.java
Date Fri, 10 Feb 2012 10:42:54 GMT
Author: sergeyb
Date: Fri Feb 10 10:42:54 2012
New Revision: 1242729

URL: http://svn.apache.org/viewvc?rev=1242729&view=rev
Log:
Minor update to ProviderFactory to minimize the noise when Jettison is missing

Modified:
    cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/ProviderFactory.java

Modified: cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/ProviderFactory.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/ProviderFactory.java?rev=1242729&r1=1242728&r2=1242729&view=diff
==============================================================================
--- cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/ProviderFactory.java
(original)
+++ cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/ProviderFactory.java
Fri Feb 10 10:42:54 2012
@@ -133,13 +133,13 @@ public final class ProviderFactory {
         try {
             return ClassLoaderUtils.loadClass(className, ProviderFactory.class).newInstance();
         } catch (Throwable ex) {
-            String message = "Problem with setting the default provider " + className;
+            String message = "Problem with creating the default provider " + className;
             if (ex.getMessage() != null) {
-                message += ex.getMessage();
+                message += ": " + ex.getMessage();
             } else {
                 message += ", exception class : " + ex.getClass().getName();  
             }
-            LOG.info(message);
+            LOG.fine(message);
         }
         return null;
     }



Mime
View raw message