aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-web
diff options
context:
space:
mode:
authorafitzek <afitzek@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2012-02-02 07:44:54 +0000
committerafitzek <afitzek@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2012-02-02 07:44:54 +0000
commit212254564c86676fe29a5cd167bf2e89c219e1ca (patch)
tree00890e53683013ba89e33411ad91d74f43be41e3 /pdf-as-web
parent3bd1daf2b44b6b7801d3dfd39bdd3dd62f448427 (diff)
downloadpdf-as-3-212254564c86676fe29a5cd167bf2e89c219e1ca.tar.gz
pdf-as-3-212254564c86676fe29a5cd167bf2e89c219e1ca.tar.bz2
pdf-as-3-212254564c86676fe29a5cd167bf2e89c219e1ca.zip
+ write old statistic message into log file as info
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@913 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
Diffstat (limited to 'pdf-as-web')
-rw-r--r--pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/SignServlet.java8
1 files changed, 5 insertions, 3 deletions
diff --git a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/SignServlet.java b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/SignServlet.java
index c60ecf0..4500b8e 100644
--- a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/SignServlet.java
+++ b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/SignServlet.java
@@ -402,13 +402,15 @@ public class SignServlet extends HttpServlet
// afitzek: moved to DataURL to provide status information OK - ERROR
// for performance measurement
- /*if (statLog.isInfoEnabled()) {
+ if (statLog.isInfoEnabled()) {
long endTime = System.currentTimeMillis();
// String toReport = "SIGN;" + si.mode + ";" + si.filename + ";"+ fileSize + ";" +
String toReport = "SIGN;" + si.mode + ";" + si.connector + ";" + si.pdfDataSource.getLength() + ";" + (endTime - startTime);
- statLog.info(toReport);
- }*/
+ //statLog.info(toReport);
+ // afitzek: save old statistik into log file
+ log.info(toReport);
+ }
}
catch (PresentableException e)
{