Files
NodeMgmt/conf/rsyslog/01-ignore-session-messages.conf
2025-06-26 21:18:42 -05:00

12 lines
329 B
Plaintext

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
}