[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

logs de squid



Bonjour,

 

J’ai installé une debian sarge 3.1r2 ainsi que squid 2.5.

Je souhaiterais savoir si mes fichiers de config sont « bon », Pouvez vous jetez un œil.

 

Le fichier /etc/logrotate.d/squid :

/var/log/squid/*.log {

            daily

            copytruncate

            compress

            rotate 5

            missingok

            notifempty

            prerotate

                        test ! -x /usr/sbin/sarg-maint || /usr/sbin/sarg-maint

            endscript

            postrotate

                        test ! -e /var/run/squid.pid || /usr/sbin/squid -k rotate

            endscript

 

Le fichier squid.conf :

J’ai ajouté la ligne logfile_rotate 5

 

Faut’il utiliser une crontab pour mes logs ?

 

Merci

 

Wesley MOUEDINE

 


Reply to: