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/03/25 19:05:26 UTC

shiro git commit: Changing swallowed exceptions to log.warn instead of log.debug

Repository: shiro
Updated Branches:
  refs/heads/master 2537d0802 -> 78e92455a


Changing swallowed exceptions to log.warn instead of log.debug

fixes: SHIRO-462
closes #6


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

Branch: refs/heads/master
Commit: 78e92455a30a711cb06c079985d28dae65583623
Parents: 2537d08
Author: Kevin Dodge <kd...@alianza.com>
Authored: Wed Mar 12 09:59:44 2014 -0600
Committer: bdemers <bd...@apache.org>
Committed: Fri Mar 25 14:03:15 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/78e92455/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 3632431..53a4f78 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.isDebugEnabled()) {
+                    if (log.isWarnEnabled()) {
                         String msg = "Realm [" + realm + "] threw an exception during a multi-realm authentication attempt:";
-                        log.debug(msg, t);
+                        log.warn(msg, t);
                     }
                 }