[syslog-ng] can two destinations refer to the same file?

Balazs Scheidler bazsi at balabit.hu
Tue Nov 3 17:06:24 CET 2009


On Mon, 2009-10-26 at 10:42 +1300, Jason Haar wrote:
> On 10/26/2009 08:20 AM, Höltzl Péter wrote:
> > Hi!
> >
> > I have (more or less) copy&pasted your config and I can confirm it works
> > as you expect;-) I tested with 3.0.3 OSE.
> >
> >   
> 
> Great - I was really after confirmation that what I was trying to do was
> actually supported. I wouldn't want to implement it, and then find out a
> few releases later that it breaks because I made an assumption that was
> no longer valid

The current implementation of syslog-ng ensures that opening the same
file in two distinct file destinations will work. I didn't intend this
behaviour, however many people depend on it, thus I'll support it.

-- 
Bazsi




More information about the syslog-ng mailing list