Great. It is important to know that omprog only writes what you tell it. So
if the program waits for a NL, this must also be written. As a side-note,
waiting for end of file would not make much sense at all: opening and closing
the pipe for each message would be enormous overhead.

Rainer

> -----Original Message-----
> From: rsyslog-boun...@lists.adiscon.com [mailto:rsyslog-
> boun...@lists.adiscon.com] On Behalf Of Mark Olliver
> Sent: Thursday, February 10, 2011 4:51 PM
> To: rsyslog-users
> Subject: Re: [rsyslog] OMPROG data not being received
> 
> Hi,
> 
> Thanks that is fixed, by adding "\n" to the end of my template it now
> flushes to the script straight away.
> 
> Thanks
> 
> Mark
> 
> On 10 February 2011 15:27, Mark Olliver <m...@thermeon.com> wrote:
> > I think my script is actually waiting on an end of file rather than
> > end of line terminator,
> >
> > If that makes a difference ?
> >
> > Mark
> >
> _______________________________________________
> rsyslog mailing list
> http://lists.adiscon.net/mailman/listinfo/rsyslog
> http://www.rsyslog.com
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com

Reply via email to