본문 바로가기

반응형

Created slice

[리눅스] systemd의 로깅 설정을 변경하기 systemd의 로깅 설정을 변경하기 systemd 로그 Created slice User Slice of user1. Removed slice User Slice of user1. "User Slice"는 시스템에서 사용자 세션을 추적하기 위해 systemd가 생성하는 슬라이스입니다. 이 슬라이스는 일반적으로 사용자가 로그인할 때 생성되며, 사용자 세션과 관련된 프로세스가 이 슬라이스에서 실행됩니다. 이 슬라이스의 메시지 로그가 불필요하거나 방해가 된다면, systemd의 로깅 설정을 변경하여 해당 로그를 제거하거나 제한할 수 있습니다. 로그 제거를 위해선, /etc/systemd/journald.conf 파일을 열고 다음과 같은 설정을 추가하면 됩니다. User Slice 로그를 전체적으로 비활성화하.. 더보기
[aws] systemd 로그 메시지 중 사용자 슬라이스(user slice) 로그 메시지를 제거하는 방법 systemd 로그 메시지 중 사용자 슬라이스(user slice) 로그 메시지를 제거하는 방법 테스트 환경 $ cat /etc/os-release NAME="Amazon Linux" VERSION="2" ID="amzn" ID_LIKE="centos rhel fedora" VERSION_ID="2" PRETTY_NAME="Amazon Linux 2" ANSI_COLOR="0;33" CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2" HOME_URL="https://amazonlinux.com/" messages 로그 tail -f /var/log/messages $ tail -f /var/log/messages Feb 22 20:51:01 aws-server-01 systemd.. 더보기
[리눅스] CentOS7에서 시스템 메시지 로그 필터링 CentOS7에서 시스템 메시지 로그 필터링 Environment $ cat /etc/redhat-release CentOS Linux release 7.9.2009 (Core) Issue /var/log/messages tail -f /var/log/messages $ tail -f /var/log/messages Dec 18 12:15:01 bvm-24 systemd: Started Session 6988 of user root. Dec 18 12:20:01 bvm-24 systemd: Started Session 6989 of user root. Dec 18 12:25:01 bvm-24 systemd: Started Session 6990 of user root. Dec 18 12:25:40 bvm.. 더보기

728x90
반응형