Re: [squid-users] squid 2.6 log rotation question

From: Dan Moore <mooreds@dont-contact.us>
Date: Sat, 29 Dec 2007 13:08:39 -0700

Henrik Nordström wrote:
> fre 2007-12-28 klockan 12:26 -0700 skrev Dan Moore:
>
>> When I use the above command, I don't get an error message, but I also
>> don't get rotated log files.
>
> Works for me.
>
>> However, when I do what the squid.conf file explicitly tells you not to do:
>>
>> sudo kill -USR1 <pid of squid>
>>
>> I do get rotated log files.
>
> Then triplecheck that Squid is able to update the pid file correctly on
> startup.
>
> And that /usr/sbin/squid is the correct Squid. If you installed Squid
> manually then /usr/local/squid/sbin/squid i usually the correct Squid
> binary path..

I just tried it again and rotate worked just fine for me. I don't think
anything changed, so perhaps it was a user error. (I think that maybe
yesterday I had logfile_rotate set to 0, so I didn't see any rotation.
Today I set it to 10 and saw the rotation.)

Thanks,
Dan
Received on Sat Dec 29 2007 - 13:10:07 MST

This archive was generated by hypermail pre-2.1.9 : Tue Jan 01 2008 - 12:00:02 MST