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

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

    XMLWordPrintable

    Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not a defect
    • Agents-4.0.0, Agents-4.0.1
    • 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|hzr1vz:

      Description

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

      Steps to reproduce

      1.) Set the audit log to rotate: / <AGENT PROFILE> / Global / Audit:

      • Audit Access Types = LOG_BOTH
      • Audit Log Location = ALL
      • Rotate Local Audit Log = true
      • Local Audit Log Rotation Size = 1000 (tested also with bigger values)

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

      Observed result:

      the audit.log file is still increasing

      Expected result:

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

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: