[syslog-ng] Output to file in /proc
Balazs Scheidler
bazsi at balabit.hu
Wed Mar 2 17:55:54 CET 2011
On Wed, 2011-03-02 at 12:28 +0100, Valentijn Sessink wrote:
> Hi Balázs,
>
> > LogWriter: added support for a new flag 'ignore-errors'
>
> Unfortunately, I can't get syslog-ng to re-write a broken message, even
> with fsync(yes). However, with your patch, it feels safer, because *if*
> a blocking message would be there, it would be ignored from now on.
did you check that with strace?
I now checked the kernel source, and the recent match really seems to
error out on invalid formats with EINVAL.
I'd really like to know what is going on, syslog-ng should try that
operation again, and it feels like a bug.
--
Bazsi
More information about the syslog-ng
mailing list