summaryrefslogtreecommitdiff
path: root/src/etc/rsyslog.conf
diff options
context:
space:
mode:
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