Linux
linux messages에 systemd: Started Session 과점유 현상
워니주니구니
2020. 11. 3. 15:17
728x90
SMALL
- 개요
리눅스 서버를 운영하다 보면 systemd: Started Session 관련 로그가 system log 파일을 점유하는 현상이 발생할 수 있다.
- 해결 방법
''echo 'if $programname == "systemd" and ($msg contains "Starting Session" or $msg contains "Started Session" or $msg contains "Created slice" or $msg contains "Starting user-") then stop'>/etc/rsyslog.d/ignore-systemd-session-slice.conf''
systemctl restart rsyslog
728x90
LIST