OT: Rotace squid logu.

Stefan Kremen piftik at yhman.tnuni.sk
Mon Jan 12 21:39:59 CET 2004


Otis ma pravdu, ja len podotknem, ze "squid -k rotate" netreba volat zo
shellu,    staci /etc/newsyslog.conf upravit nasledovne:

/var/log/squid/access.log nobody:nogroup 644 10 8000 * Z \ 
    /var/run/squid.pid SIGUSR1

Mne to takto funguje. Myslim vsak, ze by bolo este vhodne do squid.conf pridat:

logfile_rotate 0

To vypne rotovanie logov pomocou squidu, aby sa vam nepobilo dvojnasobne
rotovanie 8-)

PiFtiK

> 
> squid -k rotate po rotacii logov volate?
> 
> otis
> 


------------------------------------------------------
Tuto postu Vam prinasa Yhman a OpenWebmail.
This mail is brought to you by Yhman and OpenWebmail.





More information about the Users-l mailing list