diff options
Diffstat (limited to 'src/etc')
-rw-r--r-- | src/etc/rsyslog.conf | 6 |
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 |