From aceea898eb8f9b4d7b634bfc6f97e682f5c0a9c1 Mon Sep 17 00:00:00 2001 From: Andreas Fitzek Date: Tue, 26 Aug 2014 16:04:42 +0200 Subject: Sorted logging output --- .../at/gv/egiz/pdfas/lib/impl/signing/pdfbox/PADESPDFBOXSigner.java | 2 +- .../at/gv/egiz/pdfas/lib/impl/signing/pdfbox/PdfboxSignerWrapper.java | 4 ++-- .../at/gv/egiz/pdfas/lib/impl/stamping/pdfbox/TableDrawUtils.java | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'pdf-as-lib/src/main/java/at/gv/egiz/pdfas') diff --git a/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/signing/pdfbox/PADESPDFBOXSigner.java b/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/signing/pdfbox/PADESPDFBOXSigner.java index af32aaa5..f84885d2 100644 --- a/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/signing/pdfbox/PADESPDFBOXSigner.java +++ b/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/signing/pdfbox/PADESPDFBOXSigner.java @@ -467,7 +467,7 @@ public class PADESPDFBOXSigner implements IPdfSigner, IConfigurationConstants { // Ignore } } - logger.info("Signature done!"); + logger.debug("Signature done!"); } } diff --git a/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/signing/pdfbox/PdfboxSignerWrapper.java b/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/signing/pdfbox/PdfboxSignerWrapper.java index 44915a42..7c715911 100644 --- a/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/signing/pdfbox/PdfboxSignerWrapper.java +++ b/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/signing/pdfbox/PdfboxSignerWrapper.java @@ -65,9 +65,9 @@ public class PdfboxSignerWrapper implements PDFASSignatureInterface { byte[] data = StreamUtils.inputStreamToByteArray(inputStream); byteRange = PDFUtils.extractSignatureByteRange(data); int[] byteRange2 = signature.getByteRange(); - logger.info("Byte Range 2: " + byteRange2); + logger.debug("Byte Range 2: " + byteRange2); try { - logger.info("Signing with Pdfbox Wrapper"); + logger.debug("Signing with Pdfbox Wrapper"); byte[] signature = signer.sign(data, byteRange, this.parameters, this.requestedSignature); return signature; } catch (PdfAsException e) { diff --git a/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/stamping/pdfbox/TableDrawUtils.java b/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/stamping/pdfbox/TableDrawUtils.java index e9a4d7f5..c024a466 100644 --- a/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/stamping/pdfbox/TableDrawUtils.java +++ b/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/stamping/pdfbox/TableDrawUtils.java @@ -394,9 +394,9 @@ public class TableDrawUtils { sum += colsSizes[cols_idx]; } - logger.info("Table Col Sizes SUM {} Table Width {}", sum, + logger.debug("Table Col Sizes SUM {} Table Width {}", sum, abstractTable.getWidth()); - logger.info("Table Table Height {}", abstractTable.getHeight()); + logger.debug("Table Table Height {}", abstractTable.getHeight()); return colsSizes; } -- cgit v1.2.3