changeset 4498:04f144c42da5

Improve debugging in StaticFLYSArtifact
author Björn Ricks <bjoern.ricks@intevation.de>
date Wed, 14 Nov 2012 11:16:56 +0100
parents a2735a4bf75e
children b74399bd0960
files flys-artifacts/src/main/java/de/intevation/flys/artifacts/StaticFLYSArtifact.java
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/StaticFLYSArtifact.java	Wed Nov 14 11:15:57 2012 +0100
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/StaticFLYSArtifact.java	Wed Nov 14 11:16:56 2012 +0100
@@ -102,10 +102,15 @@
         Document       doc,
         ElementCreator creator)
     {
+        logger.debug("createOutputModes");
+
         Element outs = ProtocolUtils.createArtNode(
             creator, "outputmodes", null, null);
 
         State state       = getCurrentState(cc);
+
+        logger.debug("Current state is " + state.getID());
+
         List<Output> list = state.getOutputs();
 
         if (list != null && list.size() > 0) {

http://dive4elements.wald.intevation.org