aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-web/src/main/java/at/gv/egiz
diff options
context:
space:
mode:
authorAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2016-06-28 10:19:59 +0200
committerAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2016-06-28 10:19:59 +0200
commiteff47026a02ddb27a00ad11169178ef08c8d5697 (patch)
tree92ca2b4c1052efb65d6b49f6b6928067c314f432 /pdf-as-web/src/main/java/at/gv/egiz
parentae79fd767efa5760e1335815538018e5e83d55be (diff)
downloadpdf-as-4-eff47026a02ddb27a00ad11169178ef08c8d5697.tar.gz
pdf-as-4-eff47026a02ddb27a00ad11169178ef08c8d5697.tar.bz2
pdf-as-4-eff47026a02ddb27a00ad11169178ef08c8d5697.zip
logging output adapted
Diffstat (limited to 'pdf-as-web/src/main/java/at/gv/egiz')
-rw-r--r--pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper/PdfAsHelper.java2
-rw-r--r--pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/PDFData.java2
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);