You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shiro.apache.org by "Wouter de Vaal (JIRA)" <ji...@apache.org> on 2014/04/10 16:07:19 UTC
[jira] [Created] (SHIRO-494) Make "Enabling session validation
scheduler" line a debug log statement
Wouter de Vaal created SHIRO-494:
------------------------------------
Summary: Make "Enabling session validation scheduler" line a debug log statement
Key: SHIRO-494
URL: https://issues.apache.org/jira/browse/SHIRO-494
Project: Shiro
Issue Type: Bug
Components: Session Management
Reporter: Wouter de Vaal
The following method is called each time a new user session is created, thus spamming our logs with info messages:
protected void enableSessionValidation() {
SessionValidationScheduler scheduler = getSessionValidationScheduler();
if (scheduler == null) {
scheduler = createSessionValidationScheduler();
setSessionValidationScheduler(scheduler);
}
if (log.isInfoEnabled()) {
log.info("Enabling session validation scheduler...");
}
scheduler.enableSessionValidation();
afterSessionValidationEnabled();
}
IMHO this should be a debug message
--
This message was sent by Atlassian JIRA
(v6.2#6252)