You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shiro.apache.org by bd...@apache.org on 2016/10/12 19:02:39 UTC

shiro git commit: Revert "SHIRO-462 - Changing swallowed exceptions to log.warn instead of log.debug"

Repository: shiro
Updated Branches:
  refs/heads/1.3.x 643d1b324 -> c6857233d


Revert "SHIRO-462 - Changing swallowed exceptions to log.warn instead of log.debug"

This reverts commit 88dd180506f3fb416fe5966c73571df0c9328e44.

Fixes: #41, SHIRO-592


Project: http://git-wip-us.apache.org/repos/asf/shiro/repo
Commit: http://git-wip-us.apache.org/repos/asf/shiro/commit/c6857233
Tree: http://git-wip-us.apache.org/repos/asf/shiro/tree/c6857233
Diff: http://git-wip-us.apache.org/repos/asf/shiro/diff/c6857233

Branch: refs/heads/1.3.x
Commit: c6857233da9a4caa0aca2e214c77df33cd39a015
Parents: 643d1b3
Author: Brian Demers <bd...@apache.org>
Authored: Wed Oct 12 14:45:22 2016 -0400
Committer: Brian Demers <bd...@apache.org>
Committed: Wed Oct 12 14:52:45 2016 -0400

----------------------------------------------------------------------
 .../org/apache/shiro/authc/pam/ModularRealmAuthenticator.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/shiro/blob/c6857233/core/src/main/java/org/apache/shiro/authc/pam/ModularRealmAuthenticator.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/shiro/authc/pam/ModularRealmAuthenticator.java b/core/src/main/java/org/apache/shiro/authc/pam/ModularRealmAuthenticator.java
index 53a4f78..3632431 100644
--- a/core/src/main/java/org/apache/shiro/authc/pam/ModularRealmAuthenticator.java
+++ b/core/src/main/java/org/apache/shiro/authc/pam/ModularRealmAuthenticator.java
@@ -219,9 +219,9 @@ public class ModularRealmAuthenticator extends AbstractAuthenticator {
                     info = realm.getAuthenticationInfo(token);
                 } catch (Throwable throwable) {
                     t = throwable;
-                    if (log.isWarnEnabled()) {
+                    if (log.isDebugEnabled()) {
                         String msg = "Realm [" + realm + "] threw an exception during a multi-realm authentication attempt:";
-                        log.warn(msg, t);
+                        log.debug(msg, t);
                     }
                 }