summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-07-16 06:02:04 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-07-16 06:02:04 +0000
commit3ec8bd2bba788f7a52e3d4dcc7d4a9a64ba6e0c1 (patch)
treed6ea8e4806bf94bc2886ba2d78b6bc35006f670a
parent4de9b4e0334d1bc9f515176e2ae93e84a1f1091c (diff)
downloadrsyslog-3ec8bd2bba788f7a52e3d4dcc7d4a9a64ba6e0c1.tar.gz
rsyslog-3ec8bd2bba788f7a52e3d4dcc7d4a9a64ba6e0c1.tar.xz
rsyslog-3ec8bd2bba788f7a52e3d4dcc7d4a9a64ba6e0c1.zip
renamed $RepeatedLineReduction to $RepeatedMsgReduction
-rw-r--r--doc/rsyslog_conf.html12
-rw-r--r--syslogd.c4
2 files changed, 8 insertions, 8 deletions
diff --git a/doc/rsyslog_conf.html b/doc/rsyslog_conf.html
index 857e0522..6d94ea36 100644
--- a/doc/rsyslog_conf.html
+++ b/doc/rsyslog_conf.html
@@ -95,14 +95,14 @@ $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
+<h2>RepeatedMsgReduction</h2>
+<p>This directive specifies whether or not repeated messages should be reduced
+(this is the &quot;Last line repeated n times&quot; feature). If set to on, repeated messages are reduced. If set to off, every
+message 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
+just the default value until the first RepeatedMsgReduction directive is
encountered. Sample:</p>
-<p><code><b>$RepeatedLineReduction off&nbsp;&nbsp;&nbsp; # log every message</b></code></p>
+<p><code><b>$RepeatedMsgReduction 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
diff --git a/syslogd.c b/syslogd.c
index ef6db26b..aefefbab 100644
--- a/syslogd.c
+++ b/syslogd.c
@@ -7268,7 +7268,7 @@ void cfsysline(uchar *p)
doFileCreateModeUmaskLine(&p, DIR_UMASK);
} else if(!strcasecmp((char*) szCmd, "dynafilecachesize")) {
doDynaFileCacheSizeLine(&p, DIR_DYNAFILECACHESIZE);
- } else if(!strcasecmp((char*) szCmd, "repeatedlinereduction")) {
+ } else if(!strcasecmp((char*) szCmd, "repeatedmsgreduction")) {
doBinaryOptionLine(&p, &bReduceRepeatMsgs);
} else if(!strcasecmp((char*) szCmd, "escapecontrolcharactersonreceive")) {
doBinaryOptionLine(&p, &bEscapeCCOnRcv);
@@ -7632,7 +7632,7 @@ static void init()
break;
}
if(f->f_ReduceRepeated)
- printf(" [RepeatedLineReduction]");
+ printf(" [RepeatedMsgReduction]");
printf("\n");
}
}