[syslog-ng] [PATCH] autocreate fifo

Peter Warasin peter at endian.com
Fri Mar 27 16:59:57 CET 2009


Hi list

If you define a pipe as log destination, the pipe must exist before 
syslog starts, otherwise syslog logs that it cannot write to the pipe.

That should be fine normally, but if *all* messages go to that pipe 
syslog will cause a log-loop with those error messages.

The attached patch creates the fifo automatically.

kind regards
peter

-- 
:: e n d i a n
:: open source - open minds

:: peter warasin
:: http://www.endian.com   :: peter at endian.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: syslog-ng-2.0.7-add-fifo-autocreate.patch
Type: text/x-diff
Size: 2436 bytes
Desc: not available
Url : http://lists.balabit.hu/pipermail/syslog-ng/attachments/20090327/29bded95/attachment.patch 


More information about the syslog-ng mailing list