4.3 Ensure logrotate is configured (Not Scored)

Level 1 - Server 
Level 1 - Workstation

The system includes the capability of rotating log files regularly to avoid filling up the system with logs or making the logs unmanageable large. The file /etc/logrotate.d/syslog is the configuration file used to rotate log files created by syslog or rsyslog.

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.

Review /etc/logrotate.conf and /etc/logrotate.d/* and verify logs are rotated according to site policy.

Edit /etc/logrotate.conf and /etc/logrotate.d/* to ensure logs are rotated according to site policy.

  • centos7/4/3.txt
  • Last modified: 2017/05/04 18:25
  • by Piotr Kłoczewski