Repository: shiro Updated Branches: refs/heads/1.2.x 2eaf2e5e0 -> 88dd18050
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/88dd1805 Tree: http://git-wip-us.apache.org/repos/asf/shiro/tree/88dd1805 Diff: http://git-wip-us.apache.org/repos/asf/shiro/diff/88dd1805 Branch: refs/heads/1.2.x Commit: 88dd180506f3fb416fe5966c73571df0c9328e44 Parents: 2eaf2e5 Author: Kevin Dodge <[email protected]> Authored: Wed Mar 12 09:59:44 2014 -0600 Committer: bdemers <[email protected]> Committed: Fri Mar 25 14:00:54 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/88dd1805/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); } }
