Re: Rotating logfiles

From: Apiset Tananchai <aet@dont-contact.us>
Date: Fri, 4 Jul 1997 16:36:21 +0700 (ICT)

On Fri, 4 Jul 1997, Malcolm B.J. Garbutt wrote:
> On Thu, 3 Jul 1997, John E. Kozitzki wrote:
> >
> > Currently, I clean the logs with a script similar to the following:
> >
> > mail -s user "cache.log" < cache.log; cp /dev/null cache.log
> > mail -s user "store.log" < store.log; cp /dev/null store.log
> > mail -s user "access.log" < access.log; cp /dev/null access.log
> yep sure can.
> Why don't you change the last bit to rm /usr/local/squid/logs/*.0
> It would be safer.
>
>
> >
> > Could this cause me problems?

You may have a problem when total size of aboved log files > 80MB/day as
my squid generate.

--
aet
Received on Fri Jul 04 1997 - 02:29:28 MDT

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