systemd: Started Session 305 of user root.

方法1: echo 'if ($programname == "systemd-logind" or $programname == "systemd") and ($msg contains "Starting Session" or $msg contains "Started Session" or $msg contains "Removed session" or $msg contains "New session" or $msg contains "Created slice" or $msg contains "Starting user-") then stop' >/etc/rsyslog.d/ignore-systemd-session-slice.conf systemctl restart rsyslog

方法2: /etc/systemd/system.conf: #LogLevel=info LogLevel=notice

方法3:systemd-analyze set-log-level notice

上一篇:《IT小小鸟》的阅读心得


下一篇:1.spring基础知识讲解