/var/log/squid/cache.log {
rotate 2
size 5G
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
# wait and see
Posté par kbvz . En réponse au message Cache log de squid ne tourne pas. Évalué à 1.
Bonjour,
merci de ton retour.
c'est corrigé, wait and see dans 1h ;)