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