aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-lib
diff options
context:
space:
mode:
authorAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2014-08-26 16:04:42 +0200
committerAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2014-08-26 16:04:42 +0200
commitaceea898eb8f9b4d7b634bfc6f97e682f5c0a9c1 (patch)
tree74ddb0efc02867e2dd441e33abcda308d6b3056f /pdf-as-lib
parent0687db9816f3a5d4518f08a383593169173906b5 (diff)
downloadpdf-as-4-aceea898eb8f9b4d7b634bfc6f97e682f5c0a9c1.tar.gz
pdf-as-4-aceea898eb8f9b4d7b634bfc6f97e682f5c0a9c1.tar.bz2
pdf-as-4-aceea898eb8f9b4d7b634bfc6f97e682f5c0a9c1.zip
Sorted logging output
Diffstat (limited to 'pdf-as-lib')
-rw-r--r--pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/signing/pdfbox/PADESPDFBOXSigner.java2
-rw-r--r--pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/signing/pdfbox/PdfboxSignerWrapper.java4
-rw-r--r--pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/stamping/pdfbox/TableDrawUtils.java4
3 files changed, 5 insertions, 5 deletions
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;
}