Re: [squid-users] create 2 logs files with 2 behavior

From: David Touzeau <david_at_touzeau.eu>
Date: Sat, 15 Jan 2011 18:15:52 +0100

Thanks, it's working like a charme

Le jeudi 13 janvier 2011 à 17:45 +1300, Amos Jeffries a écrit :
> On 13/01/11 04:41, David Touzeau wrote:
> > Dear
> >
> > I would like to squid generate 2 logs files
> >
> > One with emulate_httpd_log on and second using emulate_httpd_log off
> > (for sarg compilation)
> >
> > Is it possible to do that ?
>
> Yes. emulate_httpd_log is obsolete in all the current Squid.
>
> Instead nowdays you should use a format option on the log definition
> line for each individual log output:
> http://www.squid-cache.org/Doc/config/access_log
>
> Use the built-in log format called "common" where you want the Apache
> httpd common format to be logged. Use format "squid" where you want the
> Squid native format logged.
>
> Amos
Received on Sat Jan 15 2011 - 17:16:08 MST

This archive was generated by hypermail 2.2.0 : Sun Jan 16 2011 - 12:00:02 MST