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:43:13 GMT
Repository: cxf
Updated Branches:
  refs/heads/2.7.x-fixes 8a9c41f9b -> 3e4eddef0


[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/3e4eddef
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/3e4eddef
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/3e4eddef

Branch: refs/heads/2.7.x-fixes
Commit: 3e4eddef0fa20a83cf513f706df2fddc0febe464
Parents: 8a9c41f
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:42:51 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/3e4eddef/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 b8a2ea7..98a94cd 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
@@ -38,6 +38,7 @@ import java.util.List;
 import java.util.Map;
 import java.util.ResourceBundle;
 import java.util.Set;
+import java.util.logging.Level;
 import java.util.logging.Logger;
 
 import javax.annotation.PostConstruct;
@@ -832,7 +833,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