如何减少debian 10中的重复登录?

如何减少debian 10中的重复登录?

类似问题,我知道echo 'if $programname == "systemd" and ($msg contains "Starting Session" or $msg contains "Started Session" or $msg contains "Created slice" or $msg contains "Starting user-" or $msg contains "Starting User Slice of" or $msg contains "Removed session" or $msg contains "Removed slice User Slice of" or $msg contains "Stopping User Slice of") then stop' >/etc/rsyslog.d/ignore-systemd-session-slice.conf可以用来减少centos系统中重复的日志消息。

在debian 10中,怎么做?

相关内容