sreejasahithi commented on PR #8357:
URL: https://github.com/apache/ozone/pull/8357#issuecomment-2838903789

   > Sorry @sreejasahithi just two more questions:
   > 
   > 1. Doesn't existing RFA do what we need?
   > 2. If not, shouldn't we replace RFA instead of DRFA, since rolling is no 
longer day-based?
   > 
   > 
https://github.com/apache/ozone/blob/9f3dd011119a33b6e5f458d826442bbda49810fb/hadoop-ozone/dist/src/shell/conf/log4j.properties#L31-L40
   
   The current RFA properties don't gzip the rolled-over log files. I also 
tried to achieve this by using `org.apache.log4j.rolling.RollingFileAppender 
`with `TimeBasedRollingPolicy` in RFA, but it didn't give the expected results 
as it caused frequent rollovers and failed to delete older ones when max backup 
limit was reached, leading to excessive log buildup. Hence, DRFA is being used 
instead.


-- 
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: issues-unsubscr...@ozone.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@ozone.apache.org
For additional commands, e-mail: issues-h...@ozone.apache.org

Reply via email to