summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-07-15 16:11:41 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-07-15 16:11:41 +0000
commita922e2f2f5793562cb11725ec5862d9586d9b90f (patch)
treec2874ef03190d54b73c7a1f55c4dedff23a08126
parent05448d89a3c7ee0a43ae5789e47c51524492009d (diff)
downloadrsyslog-a922e2f2f5793562cb11725ec5862d9586d9b90f.tar.gz
rsyslog-a922e2f2f5793562cb11725ec5862d9586d9b90f.tar.xz
rsyslog-a922e2f2f5793562cb11725ec5862d9586d9b90f.zip
added $RepeatedLineReduction config param
-rw-r--r--doc/features.html4
-rw-r--r--doc/rsyslog_conf.html9
2 files changed, 12 insertions, 1 deletions
diff --git a/doc/features.html b/doc/features.html
index 611e8403..02bebabb 100644
--- a/doc/features.html
+++ b/doc/features.html
@@ -34,7 +34,9 @@ is going on, you can also subscribe to the <a href="http://lists.adiscon.net/mai
a copy of klogd.c has been included under the name of rklogd for those Linux
systems that need one. So rsyslog is a full replacement for the sysklogd
package<li>
- support for IPv6</ul>
+ support for IPv6<li>
+ ability to control repeated line reduction (&quot;last message repeated n times&quot;)
+ on a per selector-line basis</ul>
<p>&nbsp;</p>
<h2>Upcoming Features</h2>
<p>The list below is something like a repository of ideas we'd like to
diff --git a/doc/rsyslog_conf.html b/doc/rsyslog_conf.html
index 69c8c972..857e0522 100644
--- a/doc/rsyslog_conf.html
+++ b/doc/rsyslog_conf.html
@@ -95,6 +95,15 @@ $FileCreateMode 0644<br>
*.* /var/log/file-with-0644</b></code></p>
<p>As you can see, open modes depend on position in the config file. Note the
first line, which is created with the hardcoded default creation mode.</p>
+<h2>RepeatedLineReduction</h2>
+<p>This directive specifies whether or not repeated lines should be reduced
+(this is the &quot;Last line repeated n times&quot; feature). If set to on, repeated lines
+(messages) are reduced. If set to off, every line is logged. Please note that
+this directive overrides the -e command line option. In case -e is given, it is
+just the default value until the first RepeatedLineReduction directive is
+encountered. Sample:</p>
+<p><code><b>$RepeatedLineReduction off&nbsp;&nbsp;&nbsp; # log every message</b></code></p>
+<p>Directives affects selector lines until a new directive is specified.</p>
<h2>DynaFileCacheSize</h2>
<p>This directive specifies the maximum size of the cache for
dynamically-generated file names. Selector lines with dynamic files names ('?'