Re: Logs/Changing path to log files.

From: Duane Wessels <wessels@dont-contact.us>
Date: Fri, 31 Mar 2000 10:42:08 -0700

On Fri, 31 Mar 2000, Phillip Malone wrote:

> Hi guys, quick question for safety reasons (don't want to stuff up my
> proxy server). Is there any problems in changing the path to store log
> files on a running system (i.e. is it possible to reconfigure the
> location of some of the logs on a proxy that's been up for some time).
>
> I have been asked to store my log files for a longer time and want to
> free up some space on the file system that contains the access log. I
> thought that I could move some/all of the other logs to a different file
> system. Would this cause problems with any of the logs? If it doesn't, I
> guess I would need to move all of the old logs to that location as well?

access and store logs are not closed and reopened upon reconfigure.
So, changing their path and then running squid -kreconfigure will
not do what you want.

Instead you can set logfile_rotate to zero, then change their
pathnames, then do -kreconfigure and then -krotate.
That should cause the old ones to be closed and new ones opened
in the new location.

Duane W.
Received on Fri Mar 31 2000 - 10:44:38 MST

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