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 --- .../src/main/java/at/gv/egiz/pdfas/common/settings/Settings.java | 4 ++-- .../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 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/pdf-as-common/src/main/java/at/gv/egiz/pdfas/common/settings/Settings.java b/pdf-as-common/src/main/java/at/gv/egiz/pdfas/common/settings/Settings.java index 26505e50..71894793 100644 --- a/pdf-as-common/src/main/java/at/gv/egiz/pdfas/common/settings/Settings.java +++ b/pdf-as-common/src/main/java/at/gv/egiz/pdfas/common/settings/Settings.java @@ -68,7 +68,7 @@ public class Settings implements ISettings, IProfileConstants { String configDir = workDirectory.getAbsolutePath() + File.separator + CFG_DIR; Properties tmpProps = new Properties(); - logger.info("Loading: " + file.getName()); + logger.debug("Loading: " + file.getName()); tmpProps.load(new FileInputStream(file)); properties.putAll(tmpProps); @@ -97,7 +97,7 @@ public class Settings implements ISettings, IProfileConstants { fileFilter, null); } if (includeFiles != null && !includeFiles.isEmpty()) { - logger.info("Including '" + includeFileName + "'."); + logger.debug("Including '" + includeFileName + "'."); for (File includeFile : includeFiles) { loadSettingsRecursive(workDirectory, includeFile); } 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