sumitagrawl commented on code in PR #9189:
URL: https://github.com/apache/ozone/pull/9189#discussion_r2483094912


##########
hadoop-ozone/dist/src/shell/conf/om-audit-log4j2.properties:
##########
@@ -80,6 +80,7 @@ appender.rolling.policies.time.interval=86400
 appender.rolling.policies.size.type=SizeBasedTriggeringPolicy
 appender.rolling.policies.size.size=64MB
 appender.rolling.strategy.type=DefaultRolloverStrategy
+appender.rolling.strategy.max=2000

Review Comment:
   2000 is too high which can fill up disk, like,
   64MB log file on rollover -> compressed to like 10MB as example, results in 
20GB of log disk space.
   IMO, it should be default to 100 only => 1GB disk. OR may be some statistics 
from stress test that how big audit per day and approx how long we need keep.
   



-- 
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