From 46d2bcdb0b500b4d1b9d973ab5b9ca3c6cf44e51 Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Mon, 8 May 2023 22:34:22 +0200 Subject: syslog: T2769: add VRF support Allow syslog messages to be sent through a VRF (e.g. management). --- src/etc/rsyslog.conf | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/etc') 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 @@ -49,6 +49,12 @@ $FileCreateMode 0640 $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/ # -- cgit v1.2.3