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

OpenAM Debug Log rotation file naming

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Do
    • Affects Version/s: 6.5.2.3
    • Fix Version/s: None
    • Component/s: debug logging
    • Labels:
      None
    • Rank:
      1|i003mn:
    • Support Ticket IDs:

      Description

      When AM debug log file rotation is configured as per the KBA: https://backstage.forgerock.com/knowledge/kb/article/a95827100

      This results in all files having suffix or prefix added when AM restarts, not just the rotated files - meaning that the current active debug log files also have the prefix/suffix applied.

      Typically the currently active log file would not have the prefix/suffix applied - and only rotated log files would have these appended.

      As a sample:

      -rw-r----- 1 tomcat-am tomcat-am     322 Jan 23 04:56 amUpgrade_01.23.2020-04.56_12.805
      -rw-r----- 1 tomcat-am tomcat-am 1103620 Jan 23 04:56 Authentication_01.23.2020-04.56_12.782
      -rw-r----- 1 tomcat-am tomcat-am     168 Jan 23 04:56 com.sun.identity.sm.SMSThreadPool_01.23.2020-04.56_12.777
      -rw-r----- 1 tomcat-am tomcat-am 1384233 Jan 23 04:56 Configuration_01.23.2020-04.56_12.761
      -rw-r----- 1 tomcat-am tomcat-am  619553 Jan 23 04:58 CoreSystem_01.23.2020-04.56_12.791
      -rw-r----- 1 tomcat-am tomcat-am   59595 Jan 23 04:57 IdRepo_01.23.2020-04.56_14.538
      -rw-r----- 1 tomcat-am tomcat-am   53314 Jan 23 04:58 OpenDJ-SDK_01.23.2020-04.56_14.809
      -rw-r----- 1 tomcat-am tomcat-am     400 Jan 23 04:56 org.forgerock.bloomfilter.GeometricSeriesBloomFilterPool_01.23.2020-04.56_15.959
      -rw-r----- 1 tomcat-am tomcat-am     442 Jan 23 04:56 org.forgerock.json.resource.http.HttpAdapter_01.23.2020-04.56_15.993
      -rw-r----- 1 tomcat-am tomcat-am     706 Jan 23 04:56 Policy_01.23.2020-04.56_14.958
      -rw-r----- 1 tomcat-am tomcat-am    2405 Jan 23 04:56 Radius_01.23.2020-04.56_14.907
      -rw-r----- 1 tomcat-am tomcat-am   13403 Jan 23 04:56 REST-API_01.23.2020-04.56_15.405
      -rw-r----- 1 tomcat-am tomcat-am  260801 Jan 23 04:58 Session_01.23.2020-04.56_14.600
      -rw-r----- 1 tomcat-am tomcat-am    3960 Jan 23 04:56 sts_01.23.2020-04.56_15.407
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              bradley.tarisznyas Brad Tarisznyas
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: