Re: buffered_log option in squid.conf

From: Guido Serassio <serassio@dont-contact.us>
Date: Sun, 16 Jun 2002 21:52:45 +0200

Hi Henrik,

Il 21.27 16/06/2002 Henrik Nordstrom ha scritto:
>On Sunday 16 June 2002 20.59, Guido Serassio wrote:
>
> > Looking in the code, I have found that this true only for
> > cache.log. All other files use logfile.c functions that are always
> > buffered. This can be a little confusing, especially for
> > access.log monitoring.
>
>The access.log is always "unbuffered". There is a forced flush of the
>log after each log entry. See access_log.c:accessLogLog().

Right, I have missed the logfileFlush() call looking in the code.

>If you feel this can be done better, please submit a patch.

I will make a patch to cf.data.pre, to avoid confusion.

>Personally
>I was not even aware we had this squid.conf directive.

Me too, it comes from a SquidNT user.

Regards

Guido

>Regards
>Henrik

-
=======================================================
Serassio Guido
Via Albenga, 11/4 10134 - Torino - ITALY
E-mail: guido.serassio@serassio.it
WWW: http://www.serassio.it
Received on Sun Jun 16 2002 - 13:52:50 MDT

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