본문 바로가기
(TEMP)

Remove slice User Slice of root 로그

by open_tracking 2021. 7. 23.

/var/log/message에서 

Remove slice User Slice of root 지속적으로 뜨는 현상

 

해당 로그때문에 로그 분석에 어려움 발생..

 

조치방법 아래와 같이 조치

 

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

 

systemctl restart rsyslog

 

 

 

댓글