[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: syslog.conf format (Re: SoC: Improve syslogd)
Rainer Gerhards <rgerhards%gmail.com@localhost> wrote:
>On Mon, Jun 9, 2008 at 9:15 PM, Christos Zoulas
>> In article
>> Rainer Gerhards <rgerhards%gmail.com@localhost> wrote:
>>>On Mon, Jun 9, 2008 at 12:53 PM, Martin Schütte
>>>> Rainer Gerhards schrieb:
>>>[snip for now]
>>>> Also some implementations already made incompatible extensions. The most
>>>> important is probably the pipe action (|), which pipes to a fifo on Linux
>>>> (sysklogd and rsyslog) but to an exec()'d program on BSD.
>>>Good to know. Maybe I extend rsyslog so that it has a switch to change
>>>the meaning of that option. But it depends on whether or not that make
>>>real sense - I am undecided ;)
>> Why not use > for fifo and | for program?
>The problem is backwards compatibility. If I change the syntax (from |
>to >), lots of configurations would be broken. So I can not do that.
Can't you just stat the destination and if it is a fifo and it has | warn
for a version or two?
Main Index |
Thread Index |