How does syslog-ng handles flush_lines(0) ?

Posted by Luke404 on Server Fault See other posts from Server Fault or by Luke404
Published on 2010-06-15T10:04:10Z Indexed on 2010/06/15 10:13 UTC
Read the original article Hit count: 401

Filed under:

I wanted to make sure my syslog-ng was doing async logging.

Reading through the documentation I see the flush_lines() option for file() destinations, if unspecified, will use the global default. Then I see that the global setting defaults to 0 but it doesn't explain what that means.

Is it going to do synchronous logging when set to 0? is it going to buffer an unlimited number of lines (flushing just every flush_timeout() number of seconds)? is it going to bite me?

© Server Fault or respective owner

Related posts about syslog-ng