Ensure journald log rotation is configured per site policyID: oval:org.secpod.oval:def:97453 | Date: (C)2024-02-05 (M)2024-04-23 |
Class: COMPLIANCE | Family: unix |
Journald includes the capability of rotating log files regularly to avoid filling up the system with logs or making the logs unmanageably large. The file /etc/systemd/journald.conf is the configuration file used to specify how logs generated by Journald should be rotated.Rationale:By keeping the log files smaller and more manageable, a system administrator can easily archive these files to another system and spend less time looking through inordinately large log files.