diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2010-03-25 15:23:39 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2010-03-25 15:23:39 +0100 |
commit | d102aab886fcde914677146caf20bd68ca41bfff (patch) | |
tree | 550478d831ac685c58a6dd16bba3f49898054907 /doc/rsyslog_conf_global.html | |
parent | 841f841ce12e49659966db006f3f244e1f23b70e (diff) | |
download | rsyslog-d102aab886fcde914677146caf20bd68ca41bfff.tar.gz rsyslog-d102aab886fcde914677146caf20bd68ca41bfff.tar.xz rsyslog-d102aab886fcde914677146caf20bd68ca41bfff.zip |
new feature: $OMFileAsyncWriting directive added
it permits to specifiy if asynchronous writing should be done or not
Diffstat (limited to 'doc/rsyslog_conf_global.html')
-rw-r--r-- | doc/rsyslog_conf_global.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/rsyslog_conf_global.html b/doc/rsyslog_conf_global.html index e7897f90..d5a27541 100644 --- a/doc/rsyslog_conf_global.html +++ b/doc/rsyslog_conf_global.html @@ -207,6 +207,14 @@ supported in order to be compliant to the upcoming new syslog RFC series. <li><a href="rsconf1_maxopenfiles.html">$MaxOpenFiles</a></li> <li><a href="rsconf1_moddir.html">$ModDir</a></li> <li><a href="rsconf1_modload.html">$ModLoad</a></li> +<li><b>$OMFileAsyncWriting</b> [on/<b>off</b>], if turned on, the files will be written +in asynchronous mode via a separate thread. In that case, double buffers will be used so +that one buffer can be filled while the other buffer is being written. Note that in order +to enable $OMFileFlushInterval, $OMFileAsyncWriting must be set to "on". Otherwise, the flush +interval will be ignored. Also note that when $OMFileFlushOnTXEnd is "on" but +$OMFileAsyncWriting is off, output will only be written when the buffer is full. This may take +several hours, or even require a rsyslog shutdown. However, a buffer flush can be forced +in that case by sending rsyslogd a HUP signal. <li><b>$OMFileZipLevel</b> 0..9 [default 0] - if greater 0, turns on gzip compression of the output file. The higher the number, the better the compression, but also the more CPU is required for zipping.</li> |