Re: Rotating logfiles

From: Malcolm B.J. Garbutt <mgarbutt@dont-contact.us>
Date: Fri, 4 Jul 1997 21:46:14 +1000 (EST)

On Fri, 4 Jul 1997, Apiset Tananchai wrote:

> 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.
May I ask why ?

>
> --
> aet
>

_________________________________________________________
Malcolm Garbutt
Network Operations-
MILDURA.NET MURRAY.NET

Office Ph. 03 50 212 991 Office Fax 03 50 212 932
Emergency Ph. 018 596 150

            .....Bringing the World to You......
_________________________________________________________
Received on Fri Jul 04 1997 - 04:08:26 MDT

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