From: Mathieu Baudier Date: Thu, 28 Apr 2011 07:48:16 +0000 (+0000) Subject: Specify log in debug X-Git-Tag: argeo-commons-2.1.30~1266 X-Git-Url: http://git.argeo.org/?a=commitdiff_plain;h=440f8a68a1bad24f0200e9d794316c9e2f2330ac;p=lgpl%2Fargeo-commons.git Specify log in debug 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 --- diff --git a/server/runtime/org.argeo.server.jcr/src/main/java/org/argeo/jcr/JcrUtils.java b/server/runtime/org.argeo.server.jcr/src/main/java/org/argeo/jcr/JcrUtils.java index 7cf287a31..168e82c69 100644 --- a/server/runtime/org.argeo.server.jcr/src/main/java/org/argeo/jcr/JcrUtils.java +++ b/server/runtime/org.argeo.server.jcr/src/main/java/org/argeo/jcr/JcrUtils.java @@ -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());