Hi, we noticed our logs were not getting rotated as expected, and traced it back to this error in our cron mail:
error: /etc/logrotate.d/appnginx:4 unknown unit 'm'
The man page for logrotate gives k, M, and G as valid size suffixes, so I believe this is just a typo. If I'm getting this wrong let me know, but I believe this will fix the problem.
Hi, we noticed our logs were not getting rotated as expected, and traced it back to this error in our cron mail:
error: /etc/logrotate.d/appnginx:4 unknown unit 'm'
The man page for logrotate gives k, M, and G as valid size suffixes, so I believe this is just a typo. If I'm getting this wrong let me know, but I believe this will fix the problem.