Re: [squid-users] Syslog configuration

From: Michel Santos <[email protected]>
Date: Wed, 22 Aug 2007 04:55:14 -0300 (BRT)

Henrik Nordstrom disse na ultima mensagem:
> 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..

so then I have to take care when upgrading because my 2.6.S14 are still
working well with 'access_log syslog:local:4'

michel

...

****************************************************
Datacenter Matik http://datacenter.matik.com.br
E-Mail e Data Hosting Service para Profissionais.
****************************************************
Received on Wed Aug 22 2007 - 01:55:31 MDT

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