ptlrs commented on code in PR #9189: URL: https://github.com/apache/ozone/pull/9189#discussion_r2507140840
########## 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: @sumitagrawl Note that previously we used to save 7 files per day. Even though we have seconds in the file name, the rollover period is for `86400 seconds` which is `1 day`. So at any given point you will only have 7 files in a day, unless the process was restarted, in which case you will have `number of restarts * 7` files at most. Writing 20,000 keys results in an OM audit log file of ~10MB with 40,000 lines. Our current max file size is 64MB which after compression is ~3MB. For the OM, total size on disk for 2000 files of each day will be ~6GB with around 240 million operations being logged. -- 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]
