Shell script is used because logrotate runs through sh. More easily tested and maintained from a separate script and harder to run into parsing problems too.
Output directed to /dev/null
dateext should be added on a new line after
daily. The format of the logfiles will be
access.log-YYYYMMDD.gz. The compression part of the name can be delayed by one rotation. Meaning the .gz extension is not guaranteed.
should I merge your PR as is (is it correct?) or would you like to mention this somehow in the readme?
Ping us to reopen PR, cheers!