You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shiro.apache.org by "Raman Gupta (JIRA)" <ji...@apache.org> on 2013/03/19 18:31:15 UTC

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

Raman Gupta created SHIRO-428:
---------------------------------

             Summary: 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