pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1846937 - /pdfbox/branches/2.0/examples/src/main/java/org/apache/pdfbox/examples/signature/validation/CertInformationCollector.java
Date Mon, 19 Nov 2018 18:56:22 GMT
Author: tilman
Date: Mon Nov 19 18:56:22 2018
New Revision: 1846937

URL: http://svn.apache.org/viewvc?rev=1846937&view=rev
Log:
PDFBOX-3017: improve logging

Modified:
    pdfbox/branches/2.0/examples/src/main/java/org/apache/pdfbox/examples/signature/validation/CertInformationCollector.java

Modified: pdfbox/branches/2.0/examples/src/main/java/org/apache/pdfbox/examples/signature/validation/CertInformationCollector.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/2.0/examples/src/main/java/org/apache/pdfbox/examples/signature/validation/CertInformationCollector.java?rev=1846937&r1=1846936&r2=1846937&view=diff
==============================================================================
--- pdfbox/branches/2.0/examples/src/main/java/org/apache/pdfbox/examples/signature/validation/CertInformationCollector.java
(original)
+++ pdfbox/branches/2.0/examples/src/main/java/org/apache/pdfbox/examples/signature/validation/CertInformationCollector.java
Mon Nov 19 18:56:22 2018
@@ -283,7 +283,7 @@ public class CertInformationCollector
     private void getAlternativeIssuerCertificate(CertSignatureInformation certInfo, int maxDepth)
             throws CertificateProccessingException
     {
-        System.out.println("Get Certificate from: " + certInfo.issuerUrl);
+        LOG.info("Get alternative issuer certificate from: " + certInfo.issuerUrl);
         try
         {
             URL certUrl = new URL(certInfo.issuerUrl);
@@ -299,11 +299,11 @@ public class CertInformationCollector
         }
         catch (IOException e)
         {
-            LOG.error("Error getting additional Certificate from " + certInfo.issuerUrl,
e);
+            LOG.error("Error getting alternative issuer certificate from " + certInfo.issuerUrl,
e);
         }
         catch (CertificateException e)
         {
-            LOG.error("Error getting additional Certificate from " + certInfo.issuerUrl,
e);
+            LOG.error("Error getting alternative issuer certificate from " + certInfo.issuerUrl,
e);
         }
     }
 



Mime
View raw message