summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcuongdt1994 <63875204+cuongdt1994@users.noreply.github.com>2023-06-20 02:41:00 +0700
committercuongdt1994 <63875204+cuongdt1994@users.noreply.github.com>2023-06-20 02:57:07 +0700
commitc8d15a0a92c1f6007489482f4293dcd566691b0c (patch)
treedb763bda39e8c78b2f70a19e423ea61bcf2b8695
parent062b1e857bb70f75315826fee756784244fbd463 (diff)
downloadvyos-1x-c8d15a0a92c1f6007489482f4293dcd566691b0c.tar.gz
vyos-1x-c8d15a0a92c1f6007489482f4293dcd566691b0c.zip
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 ]
-rw-r--r--src/etc/rsyslog.conf4
1 files changed, 2 insertions, 2 deletions
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/