Configure the log rotation policy
Use dsconfig
to modify the log rotation policy for the access logger:
$ bin/dsconfig set-log-publisher-prop \
--publisher-name "File-Based Access Logger" \
--remove "rotation-policy:24 Hours Time Limit Rotation Policy" \
--add "rotation-policy:7 Days Time Limit Rotation Policy"