RE: Acces.log and Cache.log

From: R.Ilker Gokhan <IlkerG@dont-contact.us>
Date: Tue, 14 Mar 2000 15:24:28 +0200

Actually, this is not a rotate process so it is not a good idea. If you do
like this: mv -f access.log etc. you had been removed these files...

-----Original Message-----
From: THELLIER, Francis [mailto:Francis.THELLIER@9telecom.fr]
Sent: Tuesday, March 14, 2000 3:07 PM
To: 'R.Ilker Gokhan'
Subject: RE: Acces.log and Cache.log

Thanks to your answer
the solution you explained in your mail is what you use ?
I have a file named in /etc/cron.daily that seems to rotate it with a mv -f
access.log
and mv -f cache.log around midnight

do you think it is a good idea ?

  Francis THELLIER
  9 TELECOM - DSI.P.SS
  Administrateur sécurité
  Tél. +33 1.55.20.13.84
  E-mail francis.thellier@9telecom.fr

> -----Message d'origine-----
> De: R.Ilker Gokhan [SMTP:IlkerG@sumerbank.com.tr]
> Date: mardi 14 mars 2000 14:05
> À: 'THELLIER, Francis'; 'squid-users@ircache.net'
> Objet: RE: Acces.log and Cache.log
>
> I think, you may use crontab utility into the linux to rotate the
> cache.log
> and access.log.
> For example:
>
> $crontab -e
> 59 23 * * * /usr/local/squid/bin/squid -k rotate
> save and exit..
> 59: minute
> 23: hour
> * * * day mnt year
>
> Good luck..
> Ilker Gokhan
>
>
> -----Original Message-----
> From: THELLIER, Francis [mailto:Francis.THELLIER@9telecom.fr]
> Sent: Tuesday, March 14, 2000 2:25 PM
> To: 'squid-users@ircache.net'
> Subject: Acces.log and Cache.log
>
>
>
> Hello,
>
> Usually,
> access.log and cache.log are rotated, and archived in directories (one per
> day)
> But there are no more directories and now I can only have access.log and
> cache.log of the day
>
> I don't think the rotation is in squid.conf ???
> In fact I don't know
> I never made a script for this, I think the script is somewhere
> I think I found it in /etc
> I've read it, and I don't know why access.log and cache.log are no more
> archived while they were before
>
> Anyone can help me ?
>
> Francis THELLIER
Received on Tue Mar 14 2000 - 06:30:31 MST

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