You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shiro.apache.org by "Daniel Dold (JIRA)" <ji...@apache.org> on 2017/05/30 20:12:05 UTC

[jira] [Commented] (SHIRO-461) Log level of: "No cache or cacheManager properties have been set. Authorization cache cannot be obtained." ?

    [ https://issues.apache.org/jira/browse/SHIRO-461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16030048#comment-16030048 ] 

Daniel Dold commented on SHIRO-461:
-----------------------------------

I have looked into this and can confirm that the log level for this statement is set to debug;

if (log.isDebugEnabled()) {
    log.debug("No cache or cacheManager properties have been set.  Authorization cache cannot " +
      "be obtained.");
}

> Log level of: "No cache or cacheManager properties have been set.  Authorization cache cannot be obtained." ?
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: SHIRO-461
>                 URL: https://issues.apache.org/jira/browse/SHIRO-461
>             Project: Shiro
>          Issue Type: Improvement
>          Components: Authorization (access control) 
>    Affects Versions: 1.2.2
>            Reporter: Hendy Irawan
>            Priority: Trivial
>
> I got a bunch of rapid logs as follows :
> {code}
> 09:29:15.713 I | mmerce/app/mall/salesorder/new  Mozilla/5.0 (X11; Li | -nio-8201-exec-4 o.a.s.r.AuthorizingRealm         | No cache or cacheManager properties have been set.  Authorization cache cannot be obtained.
> 09:29:15.715 I | mmerce/app/mall/salesorder/new  Mozilla/5.0 (X11; Li | -nio-8201-exec-4 o.a.s.r.AuthorizingRealm         | No cache or cacheManager properties have been set.  Authorization cache cannot be obtained.
> 09:29:15.717 I | mmerce/app/mall/salesorder/new  Mozilla/5.0 (X11; Li | -nio-8201-exec-4 o.a.s.r.AuthorizingRealm         | No cache or cacheManager properties have been set.  Authorization cache cannot be obtained.
> 09:29:15.718 I | mmerce/app/mall/salesorder/new  Mozilla/5.0 (X11; Li | -nio-8201-exec-4 o.a.s.r.AuthorizingRealm         | No cache or cacheManager properties have been set.  Authorization cache cannot be obtained.
> 09:29:15.720 I | mmerce/app/mall/salesorder/new  Mozilla/5.0 (X11; Li | -nio-8201-exec-4 o.a.s.r.AuthorizingRealm         | No cache or cacheManager properties have been set.  Authorization cache cannot be obtained.
> 09:29:15.722 I | mmerce/app/mall/salesorder/new  Mozilla/5.0 (X11; Li | -nio-8201-exec-4 o.a.s.r.AuthorizingRealm         | No cache or cacheManager properties have been set.  Authorization cache cannot be obtained.
> 09:29:15.723 I | mmerce/app/mall/salesorder/new  Mozilla/5.0 (X11; Li | -nio-8201-exec-4 o.a.s.r.AuthorizingRealm         | No cache or cacheManager properties have been set.  Authorization cache cannot be obtained.
> 09:29:15.725 I | mmerce/app/mall/salesorder/new  Mozilla/5.0 (X11; Li | -nio-8201-exec-4 o.a.s.r.AuthorizingRealm         | No cache or cacheManager properties have been set.  Authorization cache cannot be obtained.
> 09:29:15.726 I | mmerce/app/mall/salesorder/new  Mozilla/5.0 (X11; Li | -nio-8201-exec-4 o.a.s.r.AuthorizingRealm         | No cache or cacheManager properties have been set.  Authorization cache cannot be obtained.
> 09:29:15.728 I | mmerce/app/mall/salesorder/new  Mozilla/5.0 (X11; Li | -nio-8201-exec-4 o.a.s.r.AuthorizingRealm         | No cache or cacheManager properties have been set.  Authorization cache cannot be obtained.
> 09:29:15.730 I | mmerce/app/mall/salesorder/new  Mozilla/5.0 (X11; Li | -nio-8201-exec-4 o.a.s.r.AuthorizingRealm         | No cache or cacheManager properties have been set.  Authorization cache cannot be obtained.
> 09:29:15.732 I | mmerce/app/mall/salesorder/new  Mozilla/5.0 (X11; Li | -nio-8201-exec-4 o.a.s.r.AuthorizingRealm         | No cache or cacheManager properties have been set.  Authorization cache cannot be obtained.
> 09:29:15.733 I | mmerce/app/mall/salesorder/new  Mozilla/5.0 (X11; Li | -nio-8201-exec-4 o.a.s.r.AuthorizingRealm         | No cache or cacheManager properties have been set.  Authorization cache cannot be obtained.
> 09:29:15.735 I | mmerce/app/mall/salesorder/new  Mozilla/5.0 (X11; Li | -nio-8201-exec-4 o.a.s.r.AuthorizingRealm         | No cache or cacheManager properties have been set.  Authorization cache cannot be obtained.
> 09:29:15.737 I | mmerce/app/mall/salesorder/new  Mozilla/5.0 (X11; Li | -nio-8201-exec-4 o.a.s.r.AuthorizingRealm         | No cache or cacheManager properties have been set.  Authorization cache cannot be obtained.
> 09:29:15.738 I | mmerce/app/mall/salesorder/new  Mozilla/5.0 (X11; Li | -nio-8201-exec-4 o.a.s.r.AuthorizingRealm         | No cache or cacheManager properties have been set.  Authorization cache cannot be obtained.
> 09:29:15.741 I | mmerce/app/mall/salesorder/new  Mozilla/5.0 (X11; Li | -nio-8201-exec-4 o.a.s.r.AuthorizingRealm         | No cache or cacheManager properties have been set.  Authorization cache cannot be obtained.
> 09:29:15.743 I | mmerce/app/mall/salesorder/new  Mozilla/5.0 (X11; Li | -nio-8201-exec-4 o.a.s.r.AuthorizingRealm         | No cache or cacheManager properties have been set.  Authorization cache cannot be obtained.
> 09:29:15.745 I | mmerce/app/mall/salesorder/new  Mozilla/5.0 (X11; Li | -nio-8201-exec-4 o.a.s.r.AuthorizingRealm         | No cache or cacheManager properties have been set.  Authorization cache cannot be obtained.
> 09:29:15.747 I | mmerce/app/mall/salesorder/new  Mozilla/5.0 (X11; Li | -nio-8201-exec-4 o.a.s.r.AuthorizingRealm         | No cache or cacheManager properties have been set.  Authorization cache cannot be obtained.
> {code}
> Are these normal ? If so, then it should be DEBUG level, because I think it's too noisy to be on INFO.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)