aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-pdfbox/src/main/java/at
diff options
context:
space:
mode:
authorChristian Maierhofer <cmaierhofer@iaik.tugraz.at>2015-04-22 11:47:14 +0200
committerChristian Maierhofer <cmaierhofer@iaik.tugraz.at>2015-04-22 11:47:14 +0200
commit1764433c3ac6a734000df912dd6122b292ec647e (patch)
tree4ec4b605a1bd750e1c31ab211dc89b6c1e13e4d3 /pdf-as-pdfbox/src/main/java/at
parente41acb6dcca5e05b8a47421e4f1efb13d60e1448 (diff)
downloadpdf-as-4-1764433c3ac6a734000df912dd6122b292ec647e.tar.gz
pdf-as-4-1764433c3ac6a734000df912dd6122b292ec647e.tar.bz2
pdf-as-4-1764433c3ac6a734000df912dd6122b292ec647e.zip
debug output
Diffstat (limited to 'pdf-as-pdfbox/src/main/java/at')
-rw-r--r--pdf-as-pdfbox/src/main/java/at/gv/egiz/pdfas/lib/impl/signing/pdfbox/PADESPDFBOXSigner.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/pdf-as-pdfbox/src/main/java/at/gv/egiz/pdfas/lib/impl/signing/pdfbox/PADESPDFBOXSigner.java b/pdf-as-pdfbox/src/main/java/at/gv/egiz/pdfas/lib/impl/signing/pdfbox/PADESPDFBOXSigner.java
index 4538a052..fcea384a 100644
--- a/pdf-as-pdfbox/src/main/java/at/gv/egiz/pdfas/lib/impl/signing/pdfbox/PADESPDFBOXSigner.java
+++ b/pdf-as-pdfbox/src/main/java/at/gv/egiz/pdfas/lib/impl/signing/pdfbox/PADESPDFBOXSigner.java
@@ -478,6 +478,7 @@ public class PADESPDFBOXSigner implements IPdfSigner, IConfigurationConstants {
// PDF-UA
if (signatureProfileSettings.isPDFUA()==true) {
+ logger.info("Adding pdf/ua content.");
try{
PDDocumentCatalog root = doc.getDocumentCatalog();
PDStructureTreeRoot treeRoot = root.getStructureTreeRoot();
@@ -564,7 +565,7 @@ public class PADESPDFBOXSigner implements IPdfSigner, IConfigurationConstants {
}
}catch(Exception e){
logger.error("Could not create PDF-UA conform document!");
- logger.debug(e.getMessage());
+ logger.error(e.getMessage());
}
}