Unable to configure the log compression and retention capability for the Bitbucket Audit logs

XMLWordPrintable

    • 3
    • 2

      Issue Summary

      Bitbucket Data Center provide log compression and retention for its different log files (application log, access log, profiler log etc) except the Audit logs. Adding the appender and logger back to logback-spring.xml does not enable this functionality for Audit log.

      Steps to Reproduce

      1. Modify <Bitbucket Installation Directory>/app/WEB-INF/classes/logback-spring.xml to add Audit log appender for Compression and Retention.
      2. Logs are not compressed. 
      3. Time based retention is also not available.

      Expected Results

      • End user should be capable to configure the compression and retention based on time for Bitbucket Audit log

      Actual Results

      It is not possible to configure the log compression and time based rolling policy for Audit log.

      Workaround

      Currently there is no known workaround for this behavior from the application. A custom script using the cron bash script can be used.

            Assignee:
            Unassigned
            Reporter:
            Jaya Mantri
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: