리눅스 저널 로그 보존 설정하기

1 개요[ | ]

How to enable persistent logging for the systemd journal
CentOS Systemd journal 로그 저장 활성화
CentOS Systemd journal 로그 보존 설정하기
  • 대상OS: systemd 적용된 리눅스( CentOS 7, RHEL 7 등 )
mkdir -p /var/log/journal
sed -i 's/#Storage=auto/Storage=persistent/' /etc/systemd/journald.conf
systemctl restart systemd-journald.service

2 같이 보기[ | ]

3 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}