buffered_log option in squid.conf

From: Guido Serassio <serassio@dont-contact.us>
Date: Sun, 16 Jun 2002 20:59:29 +0200

Hi Henrik,

In squid.conf I read:

# TAG: buffered_logs on|off
# Some log files (cache.log, useragent.log) are written with
# stdio functions, and as such they can be buffered or
# unbuffered. By default they will be unbuffered. Buffering them
# can speed up the writing slightly (though you are unlikely to
# need to worry).
#
#Default:
# buffered_logs off

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.

Regards

Guido

-
=======================================================
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 - 12:59:37 MDT

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