From eff47026a02ddb27a00ad11169178ef08c8d5697 Mon Sep 17 00:00:00 2001 From: Andreas Fitzek Date: Tue, 28 Jun 2016 10:19:59 +0200 Subject: logging output adapted --- pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper/PdfAsHelper.java | 2 +- pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/PDFData.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper/PdfAsHelper.java b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper/PdfAsHelper.java index c9c43fa3..0dc17c08 100644 --- a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper/PdfAsHelper.java +++ b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper/PdfAsHelper.java @@ -1158,7 +1158,7 @@ public class PdfAsHelper { long validUntil = created + 300000; - logger.warn("Signed data is expired valid until {} now {}", + logger.debug("Checking signed data valid until {} now is {}", validUntil, now); return validUntil < now; diff --git a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/PDFData.java b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/PDFData.java index cf8486b5..abbfc639 100644 --- a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/PDFData.java +++ b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/PDFData.java @@ -89,7 +89,7 @@ public class PDFData extends HttpServlet { if(WebConfiguration.isKeepSignedDocument()) { if(PdfAsHelper.isSignedDataExpired(request, response)) { - logger.debug("Destroying expired signed data in session : {}", request.getSession().getId()); + logger.info("Destroying expired signed data in session"); request.getSession().invalidate(); PdfAsHelper.setSessionException(request, response, "No signed pdf document available.", null); -- cgit v1.2.3