Mercurial > dive4elements > river
changeset 3316:2495b24147ff
Forget file to save.
flys-artifacts/trunk@5006 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Sun, 15 Jul 2012 16:02:25 +0000 (2012-07-15) |
parents | e2d355da4bd6 |
children | 0f7abd95c6e2 |
files | flys-artifacts/src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java Sun Jul 15 16:00:55 2012 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java Sun Jul 15 16:02:25 2012 +0000 @@ -393,8 +393,10 @@ log.error(adbe, adbe); } - long duration = System.currentTimeMillis() -reqBegin; - log.info("Processing out(" + name + ") took " + duration + " ms."); + if (debug) { + long duration = System.currentTimeMillis() -reqBegin; + log.info("Processing out(" + name + ") took " + duration + " ms."); + } }