ansible-logrotate icon indicating copy to clipboard operation
ansible-logrotate copied to clipboard

Support running hourly logrotates

Open colin-nolan opened this issue 6 years ago • 0 comments

This role allows hourly rotates to be configured but the setup does not actually support them because the logrotate cron is only ran daily. To support the hourly logging feature, the manual notes:

hourly  Log files are rotated every hour. Note that usually logrotate is
        configured  to  be  run  by  cron daily. You have to change this
        configuration and run logrotate hourly  to  be  able  to  really
        rotate logs hourly.

Unlike the rejected PR https://github.com/nickhammond/ansible-logrotate/pull/7, this PR only aims to only support standard functionality provided by logrotate.

colin-nolan avatar May 18 '18 09:05 colin-nolan