From e3d88a0a046665e8901e65ef18a1bbf741777885 Mon Sep 17 00:00:00 2001 From: Andreas Fitzek Date: Mon, 13 Jun 2016 09:43:51 +0200 Subject: Fixed log output to hide user information on info level --- .../java/at/gv/egiz/pdfas/lib/impl/verify/IntegrityVerifier.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pdf-as-lib/src/main/java/at/gv') diff --git a/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/verify/IntegrityVerifier.java b/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/verify/IntegrityVerifier.java index 3b617d8e..e0b487ec 100644 --- a/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/verify/IntegrityVerifier.java +++ b/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/verify/IntegrityVerifier.java @@ -109,12 +109,12 @@ public class IntegrityVerifier implements IVerifier { } } - logger.info("Signature Algo: {}, Digest {}", signedData + logger.debug("Signature Algo: {}, Digest {}", signedData .getSignerInfos()[i].getSignatureAlgorithm(), signedData.getSignerInfos()[i].getDigestAlgorithm()); // if the signature is OK the certificate of the // signer is returned - logger.info("Signature OK from signer: " + logger.debug("Signature OK from signer: " + signer_cert.getSubjectDN()); verifyResult.setSignerCertificate(signer_cert); verifyResult.setValueCheckCode(new SignatureCheckImpl(0, @@ -127,7 +127,7 @@ public class IntegrityVerifier implements IVerifier { } catch (SignatureException ex) { // if the signature is not OK a SignatureException // is thrown - logger.info( + logger.warn( "Signature ERROR from signer: " + signedData.getCertificate( signerInfos[i] -- cgit v1.2.3