From c8d15a0a92c1f6007489482f4293dcd566691b0c Mon Sep 17 00:00:00 2001 From: cuongdt1994 <63875204+cuongdt1994@users.noreply.github.com> Date: Tue, 20 Jun 2023 02:41:00 +0700 Subject: T5303: Rsyslog.service is not working warning: ~ action is deprecated, consider using the 'stop' statement instead [v8.24.0 try http://www.rsyslog.com/e/2307 ] --- src/etc/rsyslog.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/etc/rsyslog.conf') diff --git a/src/etc/rsyslog.conf b/src/etc/rsyslog.conf index c28e9b537..9781f0835 100644 --- a/src/etc/rsyslog.conf +++ b/src/etc/rsyslog.conf @@ -52,8 +52,8 @@ $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" ~ +:msg, contains, " pam_unix(sudo:session): session opened for user root(uid=0) by" stop +:msg, contains, "pam_unix(sudo:session): session closed for user root" stop # # Include all config files in /etc/rsyslog.d/ -- cgit v1.2.3