cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject git commit: [CXF-5918] Logging a warning message in case of JAXBException, patch from Stefaan Vanderheyden applied
Date Thu, 31 Jul 2014 14:39:59 GMT
Repository: cxf
Updated Branches:
  refs/heads/master 646b27ac7 -> e3dfa35ac


[CXF-5918] Logging a warning message in case of JAXBException, patch from Stefaan Vanderheyden
applied


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/e3dfa35a
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/e3dfa35a
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/e3dfa35a

Branch: refs/heads/master
Commit: e3dfa35acc11bddbba35d313605142d3d710b1e2
Parents: 646b27a
Author: Sergey Beryozkin <sberyozkin@talend.com>
Authored: Thu Jul 31 17:39:39 2014 +0300
Committer: Sergey Beryozkin <sberyozkin@talend.com>
Committed: Thu Jul 31 17:39:39 2014 +0300

----------------------------------------------------------------------
 .../src/main/java/org/apache/cxf/jaxrs/utils/ResourceUtils.java   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/e3dfa35a/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/ResourceUtils.java
----------------------------------------------------------------------
diff --git a/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/ResourceUtils.java
b/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/ResourceUtils.java
index 90aac02..52098aa 100644
--- a/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/ResourceUtils.java
+++ b/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/ResourceUtils.java
@@ -39,6 +39,7 @@ import java.util.Map;
 import java.util.Properties;
 import java.util.ResourceBundle;
 import java.util.Set;
+import java.util.logging.Level;
 import java.util.logging.Logger;
 
 import javax.annotation.PostConstruct;
@@ -871,7 +872,7 @@ public final class ResourceUtils {
                                           contextProperties);
             return ctx;
         } catch (JAXBException ex) {
-            LOG.fine("No JAXB context can be created");
+            LOG.log(Level.WARNING, "No JAXB context can be created", ex);
         }
         return null;
     }


Mime
View raw message