ptlrs opened a new pull request, #9189:
URL: https://github.com/apache/ozone/pull/9189

   ## What changes were proposed in this pull request?
   This PR increases the maximum number of audit log files retained per day 
from `7` to `100`.
   
   
   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. 
   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
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-13827
   
   ## How was this patch tested?
   
   CI: https://github.com/ptlrs/ozone/actions/runs/18728005773


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to