[syslog-ng] Syslog-ng writing to files once per minute
Balazs Scheidler
bazsi at balabit.hu
Thu Jul 1 12:49:58 CEST 2010
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
More information about the syslog-ng
mailing list