Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-8442

WPA debug log is not rotated when it reaches the size limit

    XMLWordPrintable

    Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Expired
    • Agents-3.3.4, Agents-4.1.0
    • None
    • web agents
    •   OpenAM Web Agent for Apache Server 2.4.x
       Version: 4.0.1-RC2
       Revision: 5b3b9c4
       Build machine: delacroix
       Build date: Feb 23 2016 11:31:42
    • Rank:
      1|hzr24v:
    • No
    • No
    • No (add reasons in the comment)

      Description

      WPA debug log is not rotated when it reaches the size limit.

      Steps to reproduce

      1.) Set the debug log to rotate: / <AGENT PROFILE> / Global / General:

      • Agent Debug Level = All (for faster reaching max. size)
      • Agent Debug File Rotation = true
      • Agent Debug File Size: = 1048576 (1MB min size)

      2.) Create a policy for the index.html page
      3.) Observe debug log file on agent machine:
      /web_agents/apache24_agent/instances/agent_1/logs/debug/debug.log
      4.) Hit the index page, login with an user and do a page refresh until debug log file reach the size limit.

      Observed result:

      the debug.log file is still increasing

      Expected result:

      when the debug.log file reaches the size limit, it is created new debug.log.n file

      The property com.sun.identity.agents.config.debug.file.rotate is missing into agent.conf file

        Attachments

          Activity

            People

            Unassigned Unassigned
            richard.hruza Richard Hruza
            Richard Hruza Richard Hruza
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: