728x90
반응형

syslog를 확인하려는데, 아래와 같이 docker runtime 로그로 가득차있어서, 검색해보니 다른 사용자들도 비슷한 이슈를 겪는 것 같았음. 

/var/log/syslog 파일이 docker 로그로 꽉차있음

 

아래 명령어를 통해 vi로 journald.conf 파일을 수정 

sudo vi /etc/systemd/journald.conf

 

중간에 MaxLevelStoreMaxLevelSyslog 부분의 주석을 해제하고 notice로 바꿔준 다음 저장. 

journald.conf 파일 수정내용

 

아래 명령어로 systemd 재시작 해줌

sudo systemctl restart systemd-journald

 

 

참고 : https://stackoverflow.com/questions/63622619/docker-flooding-syslog-with-run-docker-runtime-logs

 

Docker flooding syslog with run-docker-runtime logs

I've google this, but so far no way to fix it. My syslog under /var/log is being flooded every second with messages like this; Aug 27 20:58:27 mail-server systemd[1]: run-docker-runtime\x2drunc-moby-

stackoverflow.com

 

 

https://github.com/systemd/systemd/issues/6432

 

Filter mechanism for logs in journald · Issue #6432 · systemd/systemd

Submission type Request for enhancement (RFE) systemd version the issue has been seen with 234 Used distribution irrelevant Description A possibility to filter logs in journald, i.e., before they a...

github.com

 

반응형

+ Recent posts