summaryrefslogtreecommitdiffstats
path: root/doc/impstats.html
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2011-04-14 12:30:45 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2011-04-14 12:30:45 +0200
commit27866eddb99885b6617fde0ee91ea7b1cd4873fb (patch)
tree41ba1e4eb4f30b8cc2951b9b3d6cbc86f103d126 /doc/impstats.html
parent1dcd16b3d93ba91ba0bc0ba7560f7b3bb815ea1c (diff)
downloadrsyslog-27866eddb99885b6617fde0ee91ea7b1cd4873fb.tar.gz
rsyslog-27866eddb99885b6617fde0ee91ea7b1cd4873fb.tar.xz
rsyslog-27866eddb99885b6617fde0ee91ea7b1cd4873fb.zip
bugfix: doc for impstats had wrong config statements
also, config statements were named a bit inconsistent, resolved that problem by introducing an alias and only documenting the consistent statements Thanks to Marcin for bringing up this problem.
Diffstat (limited to 'doc/impstats.html')
-rw-r--r--doc/impstats.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/impstats.html b/doc/impstats.html
index 3b4191e8..cede4874 100644
--- a/doc/impstats.html
+++ b/doc/impstats.html
@@ -22,16 +22,16 @@ settings, this impact may be severe (for high-load environments).
</p>
<p><b>Configuration Directives</b>:</p>
<ul>
-<li>$PStatsInterval &lt;Seconds&gt;<br>
+<li>$PStatInterval &lt;Seconds&gt;<br>
Sets the interval, in <b>seconds</b> at which messages are generated. Please note that the
actual interval may be a bit longer. We do not try to be precise and so the interval is
actually a sleep period which is entered after generating all messages. So the actual
interval is what is configured here plus the actual time required to generate messages.
In general, the difference should not really matter.
-<li>$PStatsFacility &lt;numerical facility&gt;<br>
+<li>$PStatFacility &lt;numerical facility&gt;<br>
The numerical syslog facility code to be used for generated messages. Default
is 5 (syslog).This is useful for filtering messages.</li>
-<li>$PStatsSeverity &lt;numerical severity&gt;<br>
+<li>$PStatSeverity &lt;numerical severity&gt;<br>
The numerical syslog severity code to be used for generated messages. Default
is 6 (info).This is useful for filtering messages.</li>
</ul>
@@ -45,8 +45,8 @@ stats may not get turned on in all places.</li>
<p>This activates the module and records messages to /var/log/rsyslog-stats in 10 minute intervals:<br>
</p>
<textarea rows="8" cols="60">$ModLoad impstats
-$PStatsInterval 600
-$PStatsSeverity 7
+$PStatInterval 600
+$PStatSeverity 7
syslog.debug /var/log/rsyslog-stats
</textarea>