Specify log in debug
authorMathieu Baudier <mbaudier@argeo.org>
Thu, 28 Apr 2011 07:48:16 +0000 (07:48 +0000)
committerMathieu Baudier <mbaudier@argeo.org>
Thu, 28 Apr 2011 07:48:16 +0000 (07:48 +0000)
ASSIGNED - bug 17: Generalize agent management and registration beyond JMS
https://bugzilla.argeo.org/show_bug.cgi?id=17

git-svn-id: https://svn.argeo.org/commons/trunk@4485 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc

server/runtime/org.argeo.server.jcr/src/main/java/org/argeo/jcr/JcrUtils.java

index 7cf287a31c8de76bfabbf91a625002bacdcff517..168e82c69153564cccf77b1f7ead696836ccb53c 100644 (file)
@@ -327,6 +327,11 @@ public class JcrUtils implements ArgeoJcrConstants {
 
        /** Recursively outputs the contents of the given node. */
        public static void debug(Node node) {
+               debug(node, log);
+       }
+
+       /** Recursively outputs the contents of the given node. */
+       public static void debug(Node node, Log log) {
                try {
                        // First output the node path
                        log.debug(node.getPath());