Re: [squid-users] Syslog configuration

From: Henrik Nordstrom <[email protected]>
Date: Wed, 22 Aug 2007 08:31:03 +0200

On ons, 2007-08-22 at 01:37 -0300, Michel Santos wrote:

> > access_log syslog:LOG_LOCAL4 squid
> >
>
> hmm, isn't this how it should work?
>
> access_log syslog:local:4

No, 2.6.STABLE14 and earlier 2.6 releases uses a bit twisted and
undocumented syntax for specifying syslog facility and log level.

 syslog:LOG_FACILITY|LOG_LEVEL

where LOG_FACILITY is LOG_ followed by the facility name in uppercase.
And similar for LOG_LEVEL.. Borrowed from the C syntax when using the
syslog(3) function.

We have now changed this to use the more familiar syslog.conf syntax and
documented it..

Regards
Henrik
Received on Wed Aug 22 2007 - 00:31:15 MDT

This archive was generated by hypermail pre-2.1.9 : Sat Sep 01 2007 - 12:00:03 MDT