aboutsummaryrefslogtreecommitdiff
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
parent0687db9816f3a5d4518f08a383593169173906b5 (diff)
downloadpdf-as-4-aceea898eb8f9b4d7b634bfc6f97e682f5c0a9c1.tar.gz
pdf-as-4-aceea898eb8f9b4d7b634bfc6f97e682f5c0a9c1.tar.bz2
pdf-as-4-aceea898eb8f9b4d7b634bfc6f97e682f5c0a9c1.zip
Sorted logging output
-rw-r--r--pdf-as-common/src/main/java/at/gv/egiz/pdfas/common/settings/Settings.java4
-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
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;
}