Re: [squid-users] calamaris log

From: Joe Cooper <joe@dont-contact.us>
Date: Wed, 09 Jan 2002 06:48:19 -0600

Rotate the log daily. Then use calamaris to generate 'out' files each
day. Combine the days you want in your report.

Using out files is documented pretty well in the calamaris man page.
I'll be posting our Webmin module and cron job that does this
automatically for daily and monthly reports sometime soon.

DC wrote:

> Hi,
> I use calamaris to make a log of my access.log
> I use the command :
> calamaris -a -w /var/squid/logs/access.log > log.html
> to get the log.
> But the problem is that instead of showing the log for
> current day I get a log for :
> 05.Jan 02 17:47:30 - 09.Jan 02 17:23:52
> We don't keep our server on for 24 hours everyday. It
> is on from morning 8 to night 8
> How can I get a log for today and say log for 2 days
> back only?
> Thanks a lot and bye.
> -Shant

-- 
Joe Cooper <joe@swelltech.com>
http://www.swelltech.com
Web Caching Appliances and Support
Received on Wed Jan 09 2002 - 05:47:16 MST

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