You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shiro.apache.org by "Brian Demers (JIRA)" <ji...@apache.org> on 2016/07/11 22:27:11 UTC

[jira] [Resolved] (SHIRO-428) AuthorizingRealm "no cache" logging should be at DEBUG level, not INFO, OR is should log only once

     [ https://issues.apache.org/jira/browse/SHIRO-428?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Demers resolved SHIRO-428.
--------------------------------
    Resolution: Fixed

> AuthorizingRealm "no cache" logging should be at DEBUG level, not INFO, OR is should log only once
> --------------------------------------------------------------------------------------------------
>
>                 Key: SHIRO-428
>                 URL: https://issues.apache.org/jira/browse/SHIRO-428
>             Project: Shiro
>          Issue Type: Improvement
>          Components: Authorization (access control) 
>    Affects Versions: 1.2.1
>            Reporter: Raman Gupta
>            Priority: Trivial
>             Fix For: 1.3.0
>
>
> The org.apache.shiro.realm.AuthorizingRealm contains the following:
> log.info("No cache or cacheManager properties have been set.  Authorization cache cannot " +
>     "be obtained.");
> When running without a cache manager, this spams the log files when running at INFO level. This should either:
> 1) Be logged at DEBUG level, or
> 2) Be logged only once at INFO level.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)