Re: How to make squid log access to syslog?

From: Oskar Pearson <oskar@dont-contact.us>
Date: Thu, 6 Mar 1997 14:30:09 +0200 (GMT)

Miguel A.L. Paraz wrote:
>
> Hi,
>
> Andre Albsmeier wrote:
> > is it possible to make squid log accesses to syslog and not to file
> > specified by cache_access_log? I didn't find anything in the docs
> > about that.
>
> It's currently not possible. If you really want, see the log_append
> function in stat.c. However, at the speed squid writes to the access log,
> if this is sent through syslog, syslog might use large amounts of CPU
> time.

You might then want to have a look at the patch which doesn't sync after
each write... The people use it for news logs, as far as I know.

        Oskar

=============================================
'experience made art, but inexperience luck.'
=============================================
Received on Thu Mar 06 1997 - 04:39:11 MST

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