How do I rotate the
access.log? These log-files are not rotated by default thus can grow unbounded, consuming quite significant amount of disk-space over time.
Through the Felix Web Management Console, it is possible to enable log-rotation for both
access.log by configuration. CQ5 which is based on Apache Sling allows for repository-based OSGi configuration which are automatically picked up and registered during runtime.
Attached to this article please find a Content Package which contains the required configuration for the aforementioned log-rotation. Simply install this package via the CRX Package Manager, then restart the instance to make the changes take effect.
Then you have log rotation through configuration of the log writers.