Mercurial > dive4elements > gnv-client
changeset 20:2f4ae7d9e058
Logging reduced
gnv/trunk@110 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Tue, 22 Sep 2009 13:09:09 +0000 |
parents | 1557bea6cb55 |
children | 17c92f1f014b |
files | gnv/Changelog gnv/src/main/java/de/intevation/gnv/util/XSLTransformer.java |
diffstat | 2 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/gnv/Changelog Mon Sep 21 15:28:02 2009 +0000 +++ b/gnv/Changelog Tue Sep 22 13:09:09 2009 +0000 @@ -1,3 +1,9 @@ +2009-09-22 Tim Englich <tim.englich@intevation.de> + + * src/main/java/de/intevation/gnv/util/XSLTransformer.java Edited: + Logging reduced for a better Performance. XML-Nodes should not be logged because their size could + cause Problems in Log4J and the ConsoleAppender of Eclipse + 2009-09-21 Tim Englich <tim.englich@intevation.de> * src/main/java/de/intevation/gnv/artifactdatabase/client/DefaultArtifactDatabaseClient.java:
--- a/gnv/src/main/java/de/intevation/gnv/util/XSLTransformer.java Mon Sep 21 15:28:02 2009 +0000 +++ b/gnv/src/main/java/de/intevation/gnv/util/XSLTransformer.java Tue Sep 22 13:09:09 2009 +0000 @@ -46,7 +46,7 @@ Transformer transformer = xformFactory.newTransformer(templateSource); ByteArrayOutputStream baos = new ByteArrayOutputStream(); StreamResult scrResult = new StreamResult(baos); - log.debug(xmlUtils.writeNode2String(toTransform)); + //log.debug(xmlUtils.writeNode2String(toTransform)); DOMSource source = new DOMSource(toTransform); transformer.transform(source, scrResult); resultValue = new String(baos.toByteArray(),encoding);