To enable disk-based buffering, use the log_disk_fifo_size()
parameter in the destination to set the size of the disk buffer in bytes. Note that this value applies to
every destination separately; every destination will have its own diskbuffer file, even
if the parameter is set as a global option. For details on how disk-based buffering
works, see Section 2.14, “Using disk-based buffering”. Disk buffers can be used with
tcp(), tcp6(),
syslog() (when using the tcp or
tls transport methods), and sql()
destinations. The number of messages that the disk buffer can store depends on the size
(length) of the actual messages. The maximum length of a message is limited by the
log_msg_size() parameter, which is 8192 bytes by default.
The disk buffer is located under
/opt/syslog-ng/var/ on every platform.
© 2007-2010 BalaBit IT Security
Please send your comments or documentation bugs to: documentation@balabit.com