[syslog-ng] Antw: Re: v3.3 not flushing lines?

Clayton Dukes cdukes at gmail.com
Sat Jan 14 15:19:22 CET 2012


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 :-)

______________________________________________________________

Clayton Dukes
______________________________________________________________


On Fri, Jan 13, 2012 at 5:37 PM, Peter Eisenlohr <
Peter.Eisenlohr at inform-software.com> wrote:

> Hi,
>
> just tried to reproduce with a simple perl script:
>
> open FILE, ">/home/peter/test.log" or die $!;
> { my $ofh = select FILE; $| = 1; select $ofh; }
>
> while (<>)
> {
>     chomp;
>     print FILE "incoming: $_\n";
> };
>
> Now, when sending log input to syslog-ng via tcp(), each line I type
> immediatelly shows up in the output log file.
> => can not reproduce. That is, with version 3.3.1.
>
>     Peter
>
>
>
> Dipl.-Inf. Peter Eisenlohr
> Geschäftsbereich Logistik
> INFORM GmbH, Pascalstr. 23, 52076 Aachen, Germany
> Telefon: (+49) 2408 9456-6000
> E-Mail: peter.eisenlohr at inform-software.com, Web:
> http://www.inform-software.com
> INFORM Institut fur Operations Research und Management GmbH
> Registered AmtsG Aachen HRB1144 Gfhr. Adrian Weiler
>
> >>> Clayton Dukes destination d_logzilla {** 13.01.12 16.03 Uhr >>>
>
>
>    program("/var/www/logzilla/scripts/db_insert.pl"
>    template("$R_YEAR-$R_MONTH-$R_DAY
> $R_HOUR:$R_MIN:$S_SEC\t$HOST\t$PRI\t$PROGRAM\t$MSGONLY\n")
>    template_escape(yes)
>    );
>
> **
>
>
> ______________________________________________________________________________
> Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Documentation:
> http://www.balabit.com/support/documentation/?product=syslog-ng
> FAQ: http://www.balabit.com/wiki/syslog-ng-faq
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20120114/df155326/attachment.htm 


More information about the syslog-ng mailing list