update
This commit is contained in:
12
conf/rsyslog/01-ignore-session-messages.conf
Normal file
12
conf/rsyslog/01-ignore-session-messages.conf
Normal file
@@ -0,0 +1,12 @@
|
||||
if (
|
||||
($syslogtag startswith 'systemd[' or $syslogtag startswith 'systemd-logind[') and
|
||||
(
|
||||
re_match($msg, 'Started Session') or
|
||||
re_match($msg, 'Deactivated') or
|
||||
re_match($msg, 'Consumed') or
|
||||
re_match($msg, 'New session') or
|
||||
re_match($msg, 'Removed session')
|
||||
)
|
||||
) then {
|
||||
stop
|
||||
}
|
||||
Reference in New Issue
Block a user