RE: log files getting huge.

From: Greg Maxwell <gmaxwell@dont-contact.us>
Date: Mon, 14 Feb 2000 11:20:04 -0500 (EST)

On Mon, 14 Feb 2000, Rod Savard wrote:

> > How can I reduce the size of the log files(access.log, store.log)
>
> Just an idea, but on many of the Squid servers we set up logging is not
> needed. We simply make the access.log, cache.log, and store.log symlinks to
> /dev/null. Then we don't have to worry about it. :-)
>
> On systems where you do need logging, you should put a "squid -k rotate" in
> your cron schedule... say once a week or something. This will help, too.

I'm sure this is been covered before.. But you can probably connect your
access log to a pipe and run your analyzer in real time, whilst throwing
the other garbage out.

It would save hitting the disk.

Has anyone modifyed any of the normal analyzers to work in this fashion?
Received on Mon Feb 14 2000 - 09:31:13 MST

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