Our audit log files are huge!

# ll /opt/zimbra/log/audit.log
-rw-r----- 1 zimbra zimbra 76248662 Feb 21 19:53 /opt/zimbra/log/audit.log

I would like to rotate this to something based on file size rather than daily. I have found the following in /opt/zimbra/conf/log4j.properties.in

# Appender AUDIT writes to the file "audit.log".
log4j.appender.AUDIT=org.apache.log4j.DailyRolling FileAppender
log4j.appender.AUDIT.layout=com.zimbra.common.util .ZimbraPatternLayout
log4j.appender.AUDIT.layout.ConversionPattern=%d %-5p [%t] [%z] %c{1} - %m%n

Trouble is - I have no idea what to change the DailyRollingFileAppender to.

log4j.appender.AUDIT=org.apache.log4j.RollingFileA ppender

Some scratching around points me to the above, but I need to know if this would work before I implement.