Docker Community Forums

Share and learn in the Docker community.

Docker for AWS CE 17.06 - logs flooded with moby debug messages

Expected behavior

Much fewer debug messages should be shown

Actual behavior

There are a lot of log debug messages (same messages) written to 3 log files:

  1. docker.log
  2. messages
  3. syslog

Tha amount of logged data is 3Gb/1 hour for a single instance

Example of the logs:

Jul 18 23:57:29 moby root: time=“2017-07-18T23:57:29.076228916Z” level=debug msg="Name To resolve: statsd."
Jul 18 23:57:29 moby root: time=“2017-07-18T23:57:29.076272640Z” level=debug msg="Lookup for statsd.: IP [10.0.0.8 10.0.0.7 10.0.0.9]"
Jul 18 23:57:29 moby root: time=“2017-07-18T23:57:29.076568281Z” level=debug msg="Name To resolve: statsd."
Jul 18 23:57:29 moby root: time=“2017-07-18T23:57:29.076653464Z” level=debug msg="Lookup for statsd.: IP [10.0.0.9 10.0.0.8 10.0.0.7]"
Jul 18 23:57:29 moby root: time=“2017-07-18T23:57:29.076637552Z” level=debug msg="Name To resolve: statsd."
Jul 18 23:57:29 moby root: time=“2017-07-18T23:57:29.077016530Z” level=debug msg="Lookup for statsd.: IP [10.0.0.9 10.0.0.8 10.0.0.7]"
Jul 18 23:57:29 moby root: time=“2017-07-18T23:57:29.077059366Z” level=debug msg="Name To resolve: statsd."
Jul 18 23:57:29 moby root: time=“2017-07-18T23:57:29.077119810Z” level=debug msg="Lookup for statsd.: IP [10.0.0.9 10.0.0.8 10.0.0.7]"
Jul 18 23:57:29 moby root: time=“2017-07-18T23:57:29.077180386Z” level=debug msg="Name To resolve: statsd."
Jul 18 23:57:29 moby root: time=“2017-07-18T23:57:29.077228542Z” level=debug msg="Lookup for statsd.: IP [10.0.0.9 10.0.0.8 10.0.0.7]"
Jul 18 23:57:29 moby root: time=“2017-07-18T23:57:29.077287345Z” level=debug msg="Name To resolve: statsd."
Jul 18 23:57:29 moby root: time=“2017-07-18T23:57:29.077329256Z” level=debug msg="Lookup for statsd.: IP [10.0.0.8 10.0.0.7 10.0.0.9]"
Jul 18 23:57:29 moby root: time=“2017-07-18T23:57:29.077010496Z” level=debug msg="Name To resolve: statsd."
Jul 18 23:57:29 moby root: time=“2017-07-18T23:57:29.077562535Z” level=debug msg="Lookup for statsd.: IP [10.0.0.9 10.0.0.8 10.0.0.7]"
Jul 18 23:57:29 moby root: time=“2017-07-18T23:57:29.077685525Z” level=debug msg="Name To resolve: statsd."
Jul 18 23:57:29 moby root: time=“2017-07-18T23:57:29.079315459Z” level=debug msg="Lookup for statsd.: IP [10.0.0.9 10.0.0.8 10.0.0.7]"
Jul 18 23:57:29 moby root: time=“2017-07-18T23:57:29.077754129Z” level=debug msg="Name To resolve: statsd."
Jul 18 23:57:29 moby root: time=“2017-07-18T23:57:29.079468130Z” level=debug msg="Lookup for statsd.: IP [10.0.0.8 10.0.0.7 10.0.0.9]"
Jul 18 23:57:29 moby root: time=“2017-07-18T23:57:29.077799548Z” level=debug msg="Name To resolve: statsd."
Jul 18 23:57:29 moby root: time=“2017-07-18T23:57:29.079588464Z” level=debug msg="Lookup for statsd.: IP [10.0.0.9 10.0.0.8 10.0.0.7]"
Jul 18 23:57:29 moby root: time=“2017-07-18T23:57:29.079709798Z” level=debug msg="Name To resolve: statsd."
Jul 18 23:57:29 moby root: time=“2017-07-18T23:57:29.079779958Z” level=debug msg="Lookup for statsd.: IP [10.0.0.9 10.0.0.8 10.0.0.7]"
Jul 18 23:57:29 moby root: time=“2017-07-18T23:57:29.085311136Z” level=debug msg="Calling GET /_ping"
Jul 18 23:57:29 moby root: time=“2017-07-18T23:57:29.085991144Z” level=debug msg="Name To resolve: statsd."
Jul 18 23:57:29 moby root: time=“2017-07-18T23:57:29.086127475Z” level=debug msg=“Lookup for statsd.: IP [10.0.0.9 10.0.0.8 10.0.0.7]”

Additional Information

docker -v
Docker version 17.06.0-ce, build 02c1d87

Steps to reproduce the behavior

  1. …Just create a swarm cluster using the standard Docker for AWS CFN template