summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-06-12 12:18:17 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-06-12 12:18:17 +0200
commit21dafea3ee98d16a8fe93d0d5228939dc259aea7 (patch)
treeb05cb9cc395669751652461322e7560ec65f3c71 /doc
parente3d9843c85b1dfddabc937ac6ccb4057d626bf03 (diff)
downloadrsyslog-21dafea3ee98d16a8fe93d0d5228939dc259aea7.tar.gz
rsyslog-21dafea3ee98d16a8fe93d0d5228939dc259aea7.tar.xz
rsyslog-21dafea3ee98d16a8fe93d0d5228939dc259aea7.zip
implemented $OMFileFlushOnTXEnd directive
plus some cleanup...
Diffstat (limited to 'doc')
-rw-r--r--doc/rsyslog_conf_global.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/rsyslog_conf_global.html b/doc/rsyslog_conf_global.html
index e9b1c082..a909b00c 100644
--- a/doc/rsyslog_conf_global.html
+++ b/doc/rsyslog_conf_global.html
@@ -193,6 +193,13 @@ supported in order to be compliant to the upcoming new syslog RFC series.
of the output file. The higher the number, the better the compression, but also the
more CPU is required for zipping.</li>
<li><b>$OMFileIOBufferSize</b> &lt;size_nbr&gt;, default 4k, size of the buffer used to writing output data. The larger the buffer, the potentially better performance is. The default of 4k is quite conservative, it is useful to go up to 64k, and 128K if you used gzip compression (then, even higher sizes may make sense)</li>
+<li><b>$OMFileFlushOnTXEnd</b> &lt;[on/<b>off</b>]&gt;, default off, by default, omfile
+writes output using a buffered writer. Disk writes are only done when the buffer is
+full. So if an error happens during that write, data is potentially lost. In cases where
+this is unacceptable, set $OMFileFlushOnTXEnd to on. Then, data is written at the end
+of each transaction (for pre-v5 this means after <b>each</b> log message) and the usual
+error recovery thus can handle write errors without data loss. Note that this option
+severely reduces the effect of zip compression.</li>
<li><b>$RepeatedMsgContainsOriginalMsg</b> [on/<b>off</b>] - "last message repeated n times" messages, if generated,
have a different format that contains the message that is being repeated.
Note that only the first "n" characters are included, with n to be at least 80 characters, most