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/16 08:14:14 UTC
[jira] [Updated] (SHIRO-494) Make "Enabling session validation
scheduler" line a debug log statement
[ https://issues.apache.org/jira/browse/SHIRO-494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wouter de Vaal updated SHIRO-494:
---------------------------------
Description:
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
Same goes for the method validateSessions, that one is spamming our logs as well..
was:
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
> 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
> Same goes for the method validateSessions, that one is spamming our logs as well..
--
This message was sent by Atlassian JIRA
(v6.2#6252)