diff options
author | Christian Breunig <christian@breunig.cc> | 2025-03-04 13:47:30 +0100 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2025-03-04 14:05:36 +0100 |
commit | cf99d54870da341c1b7b3af58f102e26c16ce379 (patch) | |
tree | 6234b6c47e38fca9d7e7c20a4f32af2bb4395bc2 /data | |
parent | 3500e743ad608a8aecc1cf9004f1792e4f74729c (diff) | |
download | vyos-1x-cf99d54870da341c1b7b3af58f102e26c16ce379.tar.gz vyos-1x-cf99d54870da341c1b7b3af58f102e26c16ce379.zip |
syslog: T6989: add option do disable "MARK"syslog-typos-T6989
New CLI command
set system syslog marker disable
Diffstat (limited to 'data')
-rw-r--r-- | data/templates/rsyslog/rsyslog.conf.j2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/rsyslog/rsyslog.conf.j2 b/data/templates/rsyslog/rsyslog.conf.j2 index c6eb6430c..e2ff334ff 100644 --- a/data/templates/rsyslog/rsyslog.conf.j2 +++ b/data/templates/rsyslog/rsyslog.conf.j2 @@ -40,7 +40,7 @@ global(workDirectory="/var/spool/rsyslog") # Send emergency messages to all logged-in users *.emerg action(type="omusrmsg" users="*") -{% if marker is vyos_defined %} +{% if marker is vyos_defined and marker.disable is not vyos_defined %} # Load the immark module for periodic --MARK-- message capability module(load="immark" interval="{{ marker.interval }}") {% endif %} |