You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by il...@apache.org on 2015/12/03 08:45:44 UTC

[3/3] syncope git commit: [SYNCOPE-738] Adding some logging

[SYNCOPE-738] Adding some logging


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

Branch: refs/heads/master
Commit: 18179de19556f4d2235a5264fe40a45dee149f3c
Parents: 6125dc3
Author: Francesco Chicchiriccò <il...@apache.org>
Authored: Thu Dec 3 08:45:33 2015 +0100
Committer: Francesco Chicchiriccò <il...@apache.org>
Committed: Thu Dec 3 08:45:33 2015 +0100

----------------------------------------------------------------------
 .../java/org/apache/syncope/core/logic/init/CamelRouteLoader.java  | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/syncope/blob/18179de1/ext/camel/logic/src/main/java/org/apache/syncope/core/logic/init/CamelRouteLoader.java
----------------------------------------------------------------------
diff --git a/ext/camel/logic/src/main/java/org/apache/syncope/core/logic/init/CamelRouteLoader.java b/ext/camel/logic/src/main/java/org/apache/syncope/core/logic/init/CamelRouteLoader.java
index 6228346..e3401ca 100644
--- a/ext/camel/logic/src/main/java/org/apache/syncope/core/logic/init/CamelRouteLoader.java
+++ b/ext/camel/logic/src/main/java/org/apache/syncope/core/logic/init/CamelRouteLoader.java
@@ -68,8 +68,10 @@ public class CamelRouteLoader implements SyncopeLoader {
     private static boolean isJBoss() {
         try {
             Class.forName("org.jboss.vfs.VirtualFile");
+            LOG.debug("Running in JBoss AS / Wildfly, disabling {}", DOMImplementationRegistry.class.getName());
             return true;
         } catch (Throwable ex) {
+            LOG.debug("Not running in JBoss AS / Wildfly, enabling {}", DOMImplementationRegistry.class.getName());
             return false;
         }
     }