Thanks Peter, not sure why it didn't occur to me to try a basic perl instead of mine! I will give that a try to make sure it isn't me :-)<div><br clear="all">______________________________________________________________ <br>
<br>Clayton Dukes<br>______________________________________________________________<br>
<br><br><div class="gmail_quote">On Fri, Jan 13, 2012 at 5:37 PM, Peter Eisenlohr <span dir="ltr"><<a href="mailto:Peter.Eisenlohr@inform-software.com">Peter.Eisenlohr@inform-software.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="font-family:Tahoma,sans-serif;font-size:13px">Hi,<br><br>just tried to reproduce with a simple perl script:<br><br>open FILE, ">/home/peter/test.log" or die $!;<br>{ my $ofh = select FILE; $| = 1; select $ofh; }<br>
<br>while (<>)<br>{<br> chomp;<br> print FILE "incoming: $_\n";<br>};<br><br>Now, when sending log input to syslog-ng via tcp(), each line I type immediatelly shows up in the output log file.<br>=> can not reproduce. That is, with version 3.3.1.<br>
<br> Peter<br><br><br><br><div style="clear:both">Dipl.-Inf. Peter Eisenlohr<br>Geschäftsbereich Logistik<br>INFORM GmbH, Pascalstr. 23, 52076 Aachen, Germany<br>Telefon: <a href="tel:%28%2B49%29%202408%209456-6000" value="+49240894566000" target="_blank">(+49) 2408 9456-6000</a><br>
E-Mail: <a href="mailto:peter.eisenlohr@inform-software.com" target="_blank">peter.eisenlohr@inform-software.com</a>, Web: <a href="http://www.inform-software.com" target="_blank">http://www.inform-software.com</a><br>INFORM Institut fur Operations Research und Management GmbH<br>
Registered AmtsG Aachen HRB1144 Gfhr. Adrian Weiler</div><br>>>> Clayton Dukes destination d_logzilla {<u></u> 13.01.12 16.03 Uhr >>><div class="im"><br><br><div><div> program("/var/www/logzilla/scripts/<a href="http://db_insert.pl" target="_blank">db_insert.pl</a>"</div>
<div> template("$R_YEAR-$R_MONTH-$R_DAY $R_HOUR:$R_MIN:$S_SEC\t$HOST\t$PRI\t$PROGRAM\t$MSGONLY\n")</div>
<div> template_escape(yes)</div><div> );</div><br></div><u></u></div></div>
<br>______________________________________________________________________________<br>
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
<br>
<br></blockquote></div><br></div>