You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shiro.apache.org by "Les Hazlewood (JIRA)" <ji...@apache.org> on 2013/04/17 03:46:13 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13633669#comment-13633669 ] 

Les Hazlewood commented on SHIRO-428:
-------------------------------------

I think debug should be ok - thanks for the issue!
                
> 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.2.2
>
>
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira