summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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");
}
}