Re: SIGUSR1 doesn't rotate logs (1.1.21)

From: Marcos Assis Silva <assis@dont-contact.us>
Date: Fri, 12 Jun 1998 12:26:23 -0300 (EST)

On Fri, 12 Jun 1998, Borek Lupomesky wrote:
|o| Both "kill -USR1" and "squid -k rotate" don't make squid to rotate its
|o| logfiles. What's up?
|o|

        Borek, it COULD be that this is really an easy one :-))) You
have log rotation set to 0 (zero) in your configuration file and,
thus, log rotation is DISABLED. As a consequence, kill -USR1 seems to
be deffective :-)) I'm appending the relevant squid.conf section. Good
luck and regards ...

# TAG: logfile_rotate #
# Specifies the number of logfile rotations to make upon receiving
# a USR1 signal. The default is 10, which will rotate with
# extensions 0 through 9. Setting logfile_rotate to 0 will
# disable the rotation, but the logfiles are still closed and
# re-opened. This will enable you to rename the logfiles yourself
# just before sending a USR1 signal to the squid process.
#
logfile_rotate 7

                                                           ...
        . . . -(o o)-
_.,-*b'`-`'d*-,._.,-*b'`-`'d*-,._.,-*b'`-`'d*-,._/----oOO--(_)--OOo---
                                           =
UNIVERSIDADE ESTADUAL DE LONDRINA - UEL .:. assis @ npd.uel.br
Nucleo de Processamento de Dados - NPD <*> Marcos Assis Silva
     Gerencia de Software Basico - GSB ":" Analista de Suporte
             Parana - Brasil o PGP key available
        . . . = .
_.,-*b'`-`'d*-,._.,-*b'`-`'d*-,._.,-*b'`-`'d*-,._.,-*b'`-`'d*-,._.,-*b
Received on Fri Jun 12 1998 - 08:30:37 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:40:42 MST