[syslog-ng] Antw: Re: v3.3 not flushing lines?
Peter Eisenlohr
Peter.Eisenlohr at inform-software.com
Fri Jan 13 23:37:23 CET 2012
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)
);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20120113/7528e3fa/attachment.htm
More information about the syslog-ng
mailing list