[java-identity-provider] branch main updated: IDP-1760 - Improve logging on redundant connectors

Scott Cantor cantor.2 at osu.edu
Fri Feb 26 16:38:56 UTC 2021


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

scantor pushed a commit to branch main
in repository java-identity-provider.

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

The following commit(s) were added to refs/heads/main by this push:
       new  45c746938 IDP-1760 - Improve logging on redundant connectors
45c746938 is described below

commit 45c7469383672d00a36deb3f41e159449968882b
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Fri Feb 26 11:38:52 2021 -0500

    IDP-1760 - Improve logging on redundant connectors
    
    https://issues.shibboleth.net/jira/browse/IDP-1760
    
    Lower logging of connector failures to warn.
---
 .../shibboleth/idp/attribute/resolver/AbstractResolverPlugin.java   | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/idp-attribute-resolver-api/src/main/java/net/shibboleth/idp/attribute/resolver/AbstractResolverPlugin.java b/idp-attribute-resolver-api/src/main/java/net/shibboleth/idp/attribute/resolver/AbstractResolverPlugin.java
index 50b78546b..66e1e66db 100644
--- a/idp-attribute-resolver-api/src/main/java/net/shibboleth/idp/attribute/resolver/AbstractResolverPlugin.java
+++ b/idp-attribute-resolver-api/src/main/java/net/shibboleth/idp/attribute/resolver/AbstractResolverPlugin.java
@@ -268,12 +268,10 @@ public abstract class AbstractResolverPlugin<ResolvedType> extends AbstractIdent
                 }
                 if (e instanceof NoResultAnErrorResolutionException
                         || e instanceof MultipleResultAnErrorResolutionException) {
-                    log.debug(
-                            "Resolver plugin '{}' produced the following error but was configured not to propagate",
+                    log.debug("Resolver plugin '{}' produced the following error but was configured not to propagate",
                             getId(), e);
                 } else {
-                    log.error(
-                            "Resolver plugin '{}' produced the following error but was configured not to propagate",
+                    log.warn("Resolver plugin '{}' produced the following error but was configured not to propagate",
                             getId(), e);
                 }
                 return null;

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


More information about the commits mailing list