[Dive4elements-commits] [PATCH] Guard the collection describe debug output
Wald Commits
scm-commit at wald.intevation.org
Fri May 31 15:46:23 CEST 2013
# HG changeset patch
# User Andre Heinecke <aheinecke at intevation.de>
# Date 1370007794 -7200
# Node ID 63975955ec61e4151f49885e30212227f4c6ce6b
# Parent 60b94dec104b974d7c2304d33325bb959adda953
Guard the collection describe debug output
diff -r 60b94dec104b -r 63975955ec61 gwt-client/src/main/java/org/dive4elements/river/client/server/CollectionHelper.java
--- a/gwt-client/src/main/java/org/dive4elements/river/client/server/CollectionHelper.java Fri May 31 15:29:30 2013 +0200
+++ b/gwt-client/src/main/java/org/dive4elements/river/client/server/CollectionHelper.java Fri May 31 15:43:14 2013 +0200
@@ -403,7 +403,9 @@
public static Collection parseCollection(Document description) {
logger.debug("CollectionHelper.parseCollection");
- logger.debug(XMLUtils.toString(description));
+ if (logger.isDebugEnabled()) {
+ logger.debug(XMLUtils.toString(description));
+ }
if (description == null) {
logger.warn("The DESCRIBE of the Collection is null!");
More information about the Dive4elements-commits
mailing list