Skip to content

Enable logrotate Timer

An XCCDF Rule

Description

The logrotate timer can be enabled with the following command:

$ sudo systemctl enable logrotate.timer

Rationale

Log files that are not properly rotated run the risk of growing so large that they fill up the /var/log partition. Valuable logging information could be lost if the /var/log partition becomes full.

ID
xccdf_org.ssgproject.content_rule_timer_logrotate_enabled
Severity
Medium
References
Updated