Need help with disabling docker's windows event viewer logs

Windows 10 Pro
Docker for Windows - windows containers - Version 17.12.0-ce-win47 (15139)

I’m seeing docker’s debug log in windows event viewer every 10 seconds.

debug: Calling GET /v1.34/containers/json?limit=0

I tried setting the C:\ProgramData\Docker\tmp-d4w\daemon.json debug: false but as soon as I restart the docker, it resets back to debug: true. I also tried setting the debug settings in C:\Program Files\Docker\Docker\resources\windows-daemon-options.json to false but had no effect.

I checked to see if the docker engine service has any log switch but didn’t find any. The executable path is: “C:\Program Files\Docker\Docker\Resources\dockerd.exe” --run-service --service-name docker -G domain\myusername --config-file C:\ProgramData\Docker\tmp-d4w\daemon.json

Docker continues to fill up the event viewer logs. No container is running. I like to disable this behavior and only log when I am doing diagnostics. Can someone help me with disabling the docker debug log?

Thanks

I have about the same problem with version 18.03.0-ce-win59 (16762). I get the same message (debug: Calling GET /v1.34/containers/json?limit=0) posted every 20 seconds.

Any update on this?

same problem, cant start the window daemon because it requires to turn on window event logging

The configuration file you’re looking for is C:\ProgramData\Docker\config\daemon.json. Set debug to false and restart.

It turns out the debug option really wasn’t the problem. I suspect this may be related to healthcheck events from the containers but the solution turned out to be setting the log-level value to “warn” ("info by default) in daemon.json.