Skip to content

Add logrotate configuration to rotate /var/log/messages #89

Merged
merged 1 commit into from
May 16, 2019

Commits on May 16, 2019

  1. Add logrotate

    Add logrotate.conf, logrotate.service and logrotate.timer to rotate and
    purge /var/log/messages.
    
    With this logrotate.conf, we rotate every month and keep 12 rotated
    files. So on Jun 1, 2019, /var/log/messages is rotated to
    /var/log/messages.2019-05 and /var/log/messages.2018-05 would be
    deleted, if it existed.
    donald committed May 16, 2019
    Configuration menu
    Copy the full SHA
    026f1b1 View commit details
    Browse the repository at this point in the history