[java-identity-provider] branch maint-3.3 updated: Change log level from warn to debug.

Daniel Fisher dfisher at vt.edu
Sun Oct 1 11:00:35 EDT 2017


This is an automated email from the git hooks/post-receive script.

dfisher pushed a commit to branch maint-3.3
in repository java-identity-provider.

View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=c9d760ccf7fafd727e289e0db8d848eee627091e

The following commit(s) were added to refs/heads/maint-3.3 by this push:
       new  c9d760c   Change log level from warn to debug.
c9d760c is described below

commit c9d760ccf7fafd727e289e0db8d848eee627091e
Author: Daniel Fisher <dfisher at gmail.com>
AuthorDate: Sun Oct 1 10:59:47 2017 -0400

    Change log level from warn to debug.
    
    Add a try-catch around the connection close.
---
 .../idp/attribute/resolver/dc/ldap/impl/LDAPDataConnector.java    | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/idp-attribute-resolver-impl/src/main/java/net/shibboleth/idp/attribute/resolver/dc/ldap/impl/LDAPDataConnector.java b/idp-attribute-resolver-impl/src/main/java/net/shibboleth/idp/attribute/resolver/dc/ldap/impl/LDAPDataConnector.java
index 3c9528d..9996cbe 100644
--- a/idp-attribute-resolver-impl/src/main/java/net/shibboleth/idp/attribute/resolver/dc/ldap/impl/LDAPDataConnector.java
+++ b/idp-attribute-resolver-impl/src/main/java/net/shibboleth/idp/attribute/resolver/dc/ldap/impl/LDAPDataConnector.java
@@ -173,10 +173,14 @@ public class LDAPDataConnector extends AbstractSearchDataConnector<ExecutableSea
                 }
             }
         } catch (final Exception e) {
-            log.warn("{} Error inspecting SSL configuration", getLogPrefix(), e);
+            log.debug("{} Error inspecting SSL configuration", getLogPrefix(), e);
         } finally {
             if (conn != null) {
-                conn.close();
+                try {
+                    conn.close();
+                } catch (final Exception e) {
+                    log.debug("{} Error closing LDAP connection", getLogPrefix(), e);
+                }
             }
         }
     }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list