Re: [squid-users] squid log rotate

From: DC <[email protected]>
Date: Wed, 30 Jan 2002 21:10:28 -0800 (PST)

Thanks for the mail.
I want to know what exactly squid -k rotate does.
Does it just delete/archive access.log and make a new
one?
I want calamaris r any other program to act only on
today's logs.
How can it be done?
Thanks and bye.
-Shant
--- Marco Supino <marco@sd.co.il> wrote:
> DC wrote:
>
> > Hello,
> > I am using calamaris to analyse my squid usage
> output.
> > Our server is on from 8 morning to about 9 night.
> > I want the report to analyse logs daily. So, I
> > understand that the logs must be rotated. So, I
> have a
> > cron job doing that like
> > 45 8 * * * /usr/sbin/squid -k rotate
> > Still when I use the command
> > calamaris -w -a /var/squid/logs/access.log >
> > log_file.html, I get a log which says something
> like
> > Proxy Report
> > 25.Jan 02 15:30:41 - 28.Jan 02 16:18:08
> > What must be wrong?
> > Thanks a lot and bye
> > -Shant
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Great stuff seeking new owners in Yahoo! Auctions!
> > http://auctions.yahoo.com
>
> I am not using calamris, but it seems you should use
> it against all the
> rotated logs as well as the one you are using,
> calamaris is reading from
> the log only what is finds, so you should paste to
> it the rotated logs
> as well.
>
> Marco.
>
>

__________________________________________________
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions!
http://auctions.yahoo.com
Received on Wed Jan 30 2002 - 22:10:30 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:06:01 MST