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

Reply via email to