Hi! The testing system doesn’t understand hash (#) as a comment. Or am I wrong?
For this config it says that squid was configured for weekly instead of monthly rotation.
/var/log/squid/*.log {
# weekly
monthly
rotate 3
compress
notifempty
missingok
nocreate
sharedscripts
postrotate
# Asks squid to reopen its logs. (logfile_rotate 0 is set in squid.conf)
# errors redirected to make it silent if squid is not running
/usr/sbin/squid -k rotate 2>/dev/null
# Wait a little to allow Squid to catch up before the logs is compressed
sleep 1
endscript
}