# HG changeset patch # User Ingo Weinzierl # Date 1324032619 0 # Node ID 3862c50d1cf38b278e0804999d453321ea0ccfa8 # Parent 210020108ca4d77c50e12368290c70d3ea453a2b Added an INFO statement that displays the duration time for the out() operation. flys-artifacts/trunk@3435 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r 210020108ca4 -r 3862c50d1cf3 flys-artifacts/ChangeLog --- a/flys-artifacts/ChangeLog Fri Dec 16 10:35:08 2011 +0000 +++ b/flys-artifacts/ChangeLog Fri Dec 16 10:50:19 2011 +0000 @@ -1,3 +1,9 @@ +2011-12-16 Ingo Weinzierl + + * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: + Added an INFO message that displays the duration time for the out() + operation. + 2011-12-16 Ingo Weinzierl * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: diff -r 210020108ca4 -r 3862c50d1cf3 flys-artifacts/src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java --- a/flys-artifacts/src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java Fri Dec 16 10:35:08 2011 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java Fri Dec 16 10:50:19 2011 +0000 @@ -273,6 +273,8 @@ CallContext context) throws IOException { + long reqBegin = System.currentTimeMillis(); + log.info("FLYSArtifactCollection.out"); String name = XMLUtils.xpathString( @@ -314,6 +316,9 @@ catch (ArtifactDatabaseException adbe) { log.error(adbe, adbe); } + + long duration = System.currentTimeMillis() -reqBegin; + log.info("Processing out(" + name + ") took " + duration + " ms."); }