summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2010-11-25 14:47:21 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2010-11-25 14:47:21 +0100
commit65c7f4689387d61c55280ac9f2aea0317d5b8ee2 (patch)
tree3efb2270f683ed897c6d5f3c4b4919a4c567f919 /doc
parente4ac19d8ff2a7ef7698048e7c732f4e404f007b8 (diff)
parent40814bb0307f9d8536b3dc4a28b94f80a361b41d (diff)
downloadrsyslog-65c7f4689387d61c55280ac9f2aea0317d5b8ee2.tar.gz
rsyslog-65c7f4689387d61c55280ac9f2aea0317d5b8ee2.tar.xz
rsyslog-65c7f4689387d61c55280ac9f2aea0317d5b8ee2.zip
Merge branch 'v5.6.0a' into v5-stable
Conflicts: configure.ac
Diffstat (limited to 'doc')
-rw-r--r--doc/imfile.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/imfile.html b/doc/imfile.html
index af0413dd..f6b140a7 100644
--- a/doc/imfile.html
+++ b/doc/imfile.html
@@ -86,6 +86,16 @@ level may be needed. Even if you need quick response, 1 seconds should
be well enough. Please note that imfile keeps reading files as long as
there is any data in them. So a "polling sleep" will only happen when
nothing is left to be processed.</li>
+<li><b>$InputFilePersistStateInterval</b> [lines]</b><br>
+Available in 4.7.3+, 5.6.2+<br>
+Specifies how often the state file shall be written when processing the input
+file. The default value is 0, which means a new state file is only written when
+the monitored files is being closed (end of rsyslogd execution). Any other
+value n means that the state file is written every time n file lines have
+been processed. This setting can be used to guard against message duplication due
+to fatal errors (like power fail). Note that this setting affects imfile
+performance, especially when set to a low value. Frequently writing the state
+file is very time consuming.
</ul>
<b>Caveats/Known Bugs:</b>
<p>So far, only 100 files can be monitored. If more are needed,