summaryrefslogtreecommitdiff
path: root/src/etc/rsyslog.conf
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-05-08 22:34:22 +0200
committerChristian Breunig <christian@breunig.cc>2023-05-08 22:45:53 +0200
commit46d2bcdb0b500b4d1b9d973ab5b9ca3c6cf44e51 (patch)
treeed4136e5222db87aa3b0bf2879867b6a5e3508a0 /src/etc/rsyslog.conf
parent1dc79cebc6d27a8f9d2f9ca9c2e0f2fd0809d940 (diff)
downloadvyos-1x-46d2bcdb0b500b4d1b9d973ab5b9ca3c6cf44e51.tar.gz
vyos-1x-46d2bcdb0b500b4d1b9d973ab5b9ca3c6cf44e51.zip
syslog: T2769: add VRF support
Allow syslog messages to be sent through a VRF (e.g. management).
Diffstat (limited to 'src/etc/rsyslog.conf')
-rw-r--r--src/etc/rsyslog.conf6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/etc/rsyslog.conf b/src/etc/rsyslog.conf
index 706ebb60d..c28e9b537 100644
--- a/src/etc/rsyslog.conf
+++ b/src/etc/rsyslog.conf
@@ -50,6 +50,12 @@ $DirCreateMode 0755
$Umask 0022
#
+# Stop excessive logging of sudo
+#
+:msg, contains, " pam_unix(sudo:session): session opened for user root(uid=0) by" ~
+:msg, contains, "pam_unix(sudo:session): session closed for user root" ~
+
+#
# Include all config files in /etc/rsyslog.d/
#
$IncludeConfig /etc/rsyslog.d/*.conf