Rotate request.log and access.log

Issue

The request.log and access.log log files are not rotated by default, and therefore can grow unbounded, and consume significant amount of disk space.

Solution

Use the Felix Web Management Console to enable log rotation for bothrequest.log and 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.

The Content Package at the bottom of this document contains the required configuration for the log-rotation. Install this package via the CRX Package Manager, then restart the instance so the changes take effect.

Then, you have log rotation through configuration of the log writers.

下载

 Adobe

更快、更轻松地获得帮助

新用户?

Adobe MAX 2024

Adobe MAX
创意大会

10 月 14 日至 16 日迈阿密海滩及线上

Adobe MAX

创意大会

10 月 14 日至 16 日迈阿密海滩及线上

Adobe MAX 2024

Adobe MAX
创意大会

10 月 14 日至 16 日迈阿密海滩及线上

Adobe MAX

创意大会

10 月 14 日至 16 日迈阿密海滩及线上