Rishabh Patel created HDDS-13827:
------------------------------------
Summary: Audit log data is lost due to rollover
Key: HDDS-13827
URL: https://issues.apache.org/jira/browse/HDDS-13827
Project: Apache Ozone
Issue Type: Bug
Reporter: Rishabh Patel
Assignee: Rishabh Patel
The current audit log configuration uses
{{DefaultRolloverStrategy}}
[https://github.com/apache/ozone/blob/31ec0263805f9cbc28f5633e4c0b71d1d1be1ea7/hadoop-ozone/dist/src/shell/conf/om-audit-log4j2.properties#L82]
{{DefaultRolloverStrategy }}by default allows a maximum of 7 files. Oldest data
is rolled over when more data is written to the log files.
Setting the max number of files to unlimited makes the calculation of space
unpredictable and susceptible to overruns.
Instead, setting the value to a larger number would be a better default.
[https://logging.apache.org/log4j/2.x/manual/appenders/rolling-file.html#DefaultRolloverStrategy]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]