logo       

Syslog-ng timed sync: msg#00028

syslog-ng

Subject: Syslog-ng timed sync

Is there any way to be able to do a timed sync? What I want to do is
be able to have syslog-ng buffer about 10 lines, but if nothing is logged
within, say, 10 seconds, syslog-ng will automatically flush the buffer to
disk. This way, if the logging is bursty, the system doesn't get
strangled by the I/O writes during the heavy times and I don't get caught
waiting long times for more logging to fill the buffer during the quiet
times. I'm concerned about using sync=0 because during the times when
the logging is heavy, it take a great deal of I/O to write to the logs.
Any thoughts?

Thanks,
-Hugh

_______________________________________________
syslog-ng maillist - syslog-ng@xxxxxxxxxxxxxxxx
https://lists.balabit.hu/mailman/listinfo/syslog-ng
Frequently asked questions at http://www.campin.net/syslog-ng/faq.html




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise