On Wed, 3 Jan 2001, MILIN Jacques wrote:
> is there any problem to put the "emulate_httpd_log" parameter to on ?
You might want to check the FAQ at squid-cache.org. There are differences
in what information is recorded in the access log when you set the option
to on that may impact programs that you use to analyze cache activity.
I use Webalizer 2.01-06 to generate periodic reports (every 3 hours) of
Web activity. The program understands both CLF and Squid logging formats
and can generate the activity reports and graphs for Apache and Squid.
Using an earlier version of Webalizer I attempted to generate a composite
report that covered all of the virtual web sites hosted on the system. It
was not a success. There appeared to be a tacit assumption that if CLF
was being used that the log was for a single web site and the host element
of the URL was removed.
> Merton Campbell Crockett a écrit :
>
> > On Wed, 3 Jan 2001, Tony Melia wrote:
> >
> > > Is it possible to patch squid, or even add an option in the config, so that
> > > it will report times in actual time rather than epoch in it’s log files? I
> > > have a relatively low traffic site using squid, and would like to leave a
> > > ‘tail –f /var/log/squid/access.log’ command running so I can watch
> > > realtime, but also see the real time.
> >
> > There is an existing "emulate_httpd_log" option that enables the use of
> > the Common Log Format (CLF) for the Squid logs.
> >
> > As the only thing that you want to do is run the first "column", up to the
> > decimal point through date -r and append the remainder of the line, a
> > simple script to call tail and parse the output may be all that is needed.
Merton Campbell Crockett
-- To unsubscribe, see http://www.squid-cache.org/mailing-lists.htmlReceived on Wed Jan 03 2001 - 09:52:32 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:57:20 MST