[syslog-ng] Syslog-ng writing to files once per minute

Eric Cables ecables at gmail.com
Thu Jul 1 19:35:04 CEST 2010


I am seeing syslog-ng write to the file exactly once per minute, which
includes the hundreds of queued messages.

On 7/1/10, Balazs Scheidler <bazsi at balabit.hu> wrote:
> On Thu, 2010-07-01 at 00:04 -0700, Eric Cables wrote:
>> I'm hoping this is a really stupid question, but after implementing
>> what I thought to be the fix to this, I can't seem to get it working.
>> I have a number of hosts logging to facility local5, and the
>> destination log file is only updated once per minute (HH:MM.30s to be
>> precise).  I've implemented flush_lines(0); and flush_interval(0);, to
>> the global options, but it doesn't seem to have an effect.
>>
>> syslog-ng 3.0.3
>>
>> My goal is to have logs written to the destination file with minimal
>> latency after syslog-ng receives the message.
>
> If you don't have flush_lines() > 0 in your configuration, then that's
> what has to happen.
>
> Can you elaborate what you see? how long does it take for syslog-ng to
> write that message there?
>
> --
> Bazsi
>
> ______________________________________________________________________________
> Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Documentation:
> http://www.balabit.com/support/documentation/?product=syslog-ng
> FAQ: http://www.campin.net/syslog-ng/faq.html
>
>

-- 
Sent from my mobile device


-- Eric Cables


More information about the syslog-ng mailing list