-
Type:
Suggestion
-
Resolution: Unresolved
-
None
-
Component/s: System Administration - Audit Logs
-
None
-
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
- Modify <Bitbucket Installation Directory>/app/WEB-INF/classes/logback-spring.xml to add Audit log appender for Compression and Retention.
- Logs are not compressed.
- 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.