1 개요[ | ]
- How to enable persistent logging for the systemd journal
- CentOS Systemd journal 로그 저장 활성화
- CentOS Systemd journal 로그 보존 설정하기
- 대상OS: systemd 적용된 리눅스( CentOS 7, RHEL 7 등 )
Bash
Copy
mkdir -p /var/log/journal
sed -i 's/#Storage=auto/Storage=persistent/' /etc/systemd/journald.conf
systemctl restart systemd-journald.service
2 같이 보기[ | ]
3 참고[ | ]
편집자 Jmnote
로그인하시면 댓글을 쓸 수 있습니다.
- 분류 댓글:
- CentOS 7 (2)
CentOS7 MariaDB 설치 ― 전귀현CentOS7 MariaDB 설치 ― Jmnote