summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2013-03-20 15:36:57 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2013-03-20 15:36:57 +0100
commit136a9828452486da97578fc5a2e870143279dceb (patch)
tree39978a0233f2a09717308e04875bf2b7b922f1f5
parent37e876b7d029b713929d46556edb85c3f25e8bb5 (diff)
downloadrsyslog-136a9828452486da97578fc5a2e870143279dceb.tar.gz
rsyslog-136a9828452486da97578fc5a2e870143279dceb.tar.bz2
rsyslog-136a9828452486da97578fc5a2e870143279dceb.zip
slightly improve imfile doc
-rw-r--r--doc/imfile.html17
1 files changed, 8 insertions, 9 deletions
diff --git a/doc/imfile.html b/doc/imfile.html
index 0997e382..de4893ac 100644
--- a/doc/imfile.html
+++ b/doc/imfile.html
@@ -141,17 +141,17 @@ your distro puts rsyslog's config files). Note that only commands
actually needed need to be specified. The second file uses less
commands and uses defaults instead.<br>
</p>
-<textarea rows="15" cols="60">module(load="folder/to/rsyslog/plugins/imfile/.libs/imfile" PollingInterval="10") #needs to be done just once
+<textarea rows="15" cols="60">module(load="imfile" PollingInterval="10") #needs to be done just once
# File 1
input(type="imfile" File="/path/to/file1"
-Tag="tag1"
-StateFile="/var/spool/rsyslog/statefile1"
-Severity="error"
-Facility="local7")
+ Tag="tag1"
+ StateFile="/var/spool/rsyslog/statefile1"
+ Severity="error"
+ Facility="local7")
# File 2
input(type="imfile" File="/path/to/file2"
-Tag="tag2"
-StateFile="/var/spool/rsyslog/statefile2")
+ Tag="tag2"
+ StateFile="/var/spool/rsyslog/statefile2")
# ... and so on ...
#
</textarea>
@@ -210,8 +210,7 @@ your distro puts rsyslog's config files). Note that only commands
actually needed need to be specified. The second file uses less
commands and uses defaults instead.<br>
</p>
-<textarea rows="15" cols="60">$ModLoad imfile #
-needs to be done just once
+<textarea rows="15" cols="60">$ModLoad imfile # needs to be done just once
# File 1
$InputFileName /path/to/file1
$InputFileTag tag1: