From 30a5a9e64b41c7efd0d59adc9d4bda9527dbc588 Mon Sep 17 00:00:00 2001 From: Matthias Radestock Date: Sat, 16 Jul 2016 20:32:36 +0100 Subject: [PATCH] reduce container stats log noise reduce log level --- probe/docker/container.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/probe/docker/container.go b/probe/docker/container.go index 44a1d8880..2878c681c 100644 --- a/probe/docker/container.go +++ b/probe/docker/container.go @@ -185,7 +185,7 @@ func (c *container) StartGatheringStats() error { } go func() { - log.Infof("docker container: collecting stats for %s", c.container.ID) + log.Debugf("docker container: collecting stats for %s", c.container.ID) req, err := http.NewRequest("GET", fmt.Sprintf("/containers/%s/stats", c.container.ID), nil) if err != nil { log.Errorf("docker container: %v", err) @@ -221,7 +221,7 @@ func (c *container) StartGatheringStats() error { c.Lock() defer c.Unlock() - log.Infof("docker container: stopped collecting stats for %s", c.container.ID) + log.Debugf("docker container: stopped collecting stats for %s", c.container.ID) c.statsConn = nil }()