From 1764433c3ac6a734000df912dd6122b292ec647e Mon Sep 17 00:00:00 2001 From: Christian Maierhofer Date: Wed, 22 Apr 2015 11:47:14 +0200 Subject: debug output --- .../at/gv/egiz/pdfas/lib/impl/signing/pdfbox/PADESPDFBOXSigner.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pdf-as-pdfbox/src/main/java/at/gv/egiz/pdfas') 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()); } } -- cgit v1.2.3