I ran logrotate in verbose mode and got this:
rotating pattern: /var/log/virtualmin/sitexxx.com_access_log /var/log/virtualmin/sitexxx.com_error_log weekly (5 rotations)
empty log files are rotated, old logs are removed
considering log /var/log/virtualmin/sitexxx.com_access_log
log does not need rotating
considering log /var/log/virtualmin/sitexxx.com_error_log
log does not need rotating
not running postrotate script, since no logs were rotated
not running postrotate script, since no logs were rotated
/var/log/virtualmin/sitexxx.com_access_log is definitely 26.3GB…
Thoughts?
Also when I first tried running logrotate I got this error:
error: vsftpd.log:7 duplicate log entry for /var/log/xferlog
I removed vsftpd.log from logrotate.d and that let me proceed further.