Gico Posted April 14, 2021 Share Posted April 14, 2021 (edited) For a long time now my docker log is filling up after a day or so. Until now I kept deleting the log and restarting the docker every day or two, but I want to solve this. Attached diagnostics. Docker.log has the following repeating lines. They keep generated also when all docker containers are shut down. Is there any setting for these debug messages? Thanks. time="2021-04-14T12:15:38.072970466+03:00" level=debug msg="Client context cancelled, stop sending events" time="2021-04-14T12:15:38.143814008+03:00" level=debug msg="Calling HEAD /_ping" time="2021-04-14T12:15:38.144712564+03:00" level=debug msg="Calling GET /v1.41/version" time="2021-04-14T12:15:38.160992770+03:00" level=debug msg="Calling GET /v1.41/events?filters=%7B%22type%22%3A%7B%22container%22%3Atrue%7D%7D" time="2021-04-14T12:15:38.161762159+03:00" level=debug msg="Calling GET /v1.41/containers/json?limit=0" time="2021-04-14T12:15:38.666577809+03:00" level=debug msg="Client context cancelled, stop sending events" time="2021-04-14T12:15:38.738433243+03:00" level=debug msg="Calling HEAD /_ping" time="2021-04-14T12:15:38.739324094+03:00" level=debug msg="Calling GET /v1.41/version" time="2021-04-14T12:15:38.754834791+03:00" level=debug msg="Calling GET /v1.41/events?filters=%7B%22type%22%3A%7B%22container%22%3Atrue%7D%7D" time="2021-04-14T12:15:38.755614135+03:00" level=debug msg="Calling GET /v1.41/containers/json?limit=0" juno-diagnostics-20210414-1215.zip Edited April 18, 2021 by Gico Quote Link to comment
Squid Posted April 14, 2021 Share Posted April 14, 2021 Try adding this to your containers https://forums.unraid.net/bug-reports/stable-releases/683-unnecessary-overwriting-of-json-files-in-dockerimg-every-5-seconds-r1079/?tab=comments#comment-10980 Quote Link to comment
Gico Posted April 14, 2021 Author Share Posted April 14, 2021 That helped. I added this to all containers, and had to restart Docker service in order for it to kick in. Now there is a health check about twice each hour instead one each second. Thanks a lot Squid! Quote Link to comment
Gico Posted April 18, 2021 Author Share Posted April 18, 2021 (edited) Problem returned: Until April 15th 17:06:01 it logged the health checks every hour, then logged on 17:12:17 and from 17:12:32 returned to log them every second or two. Attached docker log. docker.log.zip Edited April 18, 2021 by Gico Quote Link to comment
Gico Posted April 19, 2021 Author Share Posted April 19, 2021 (edited) Does Anyone know where from the marked "--log-level debug" in the attached screenshot comes from? Edit: It's from /var/run/docker/containerd/containerd.toml: [debug] address = "/var/run/docker/containerd/containerd-debug.sock" uid = 0 gid = 0 level = "debug" Can anyone check what does his server has in this file/section? Edited April 19, 2021 by Gico Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.