summaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2025-01-15 20:48:34 +0100
committerChristian Breunig <christian@breunig.cc>2025-02-03 07:16:35 +0100
commit3f4c6422110c9a242ff3b81abd4f5ac5e01d5ab9 (patch)
tree883c2065fbe3f9a897e3ee0102baeca1f75dd429 /data/templates
parent211bc4a767564d1eb28b431e1529eb719bb721a9 (diff)
downloadvyos-1x-3f4c6422110c9a242ff3b81abd4f5ac5e01d5ab9.tar.gz
vyos-1x-3f4c6422110c9a242ff3b81abd4f5ac5e01d5ab9.zip
syslog: T6989: remove RepeatedMsgReduction configuration option
This is a feature that worked decades ago when logs were small and reviewed by a human, it fails badly on high volume logs processed by tools. https://www.rsyslog.com/doc/configuration/action/rsconf1_repeatedmsgreduction.html
Diffstat (limited to 'data/templates')
-rw-r--r--data/templates/rsyslog/rsyslog.conf.j211
1 files changed, 2 insertions, 9 deletions
diff --git a/data/templates/rsyslog/rsyslog.conf.j2 b/data/templates/rsyslog/rsyslog.conf.j2
index c2cb8a1ca..daaafa6d1 100644
--- a/data/templates/rsyslog/rsyslog.conf.j2
+++ b/data/templates/rsyslog/rsyslog.conf.j2
@@ -18,16 +18,9 @@ module(
RateLimit.Burst="0"
)
+###########################
#### GLOBAL DIRECTIVES ####
-### TODO - remove
-# Filter duplicated messages
-# https://www.rsyslog.com/doc/configuration/action/rsconf1_repeatedmsgreduction.html
-$RepeatedMsgReduction on
-
-##########################################
-#### AUTH.LOG CHANNEL AND LOGGING RULES ####
-##########################################
-
+###########################
# Log specific programs to auth.log, then stop further processing
if (
$programname == "CRON" or