Uploaded image for project: 'Shiro'
  1. Shiro
  2. SHIRO-494

Make "Enabling session validation scheduler" line a debug log statement

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Session Management
    • None

    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..

      Attachments

        Activity

          People

            Unassigned Unassigned
            wouterv Wouter de Vaal
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: