From b0d15eaac689e4922202cc6919c3a301384f535d Mon Sep 17 00:00:00 2001 From: Ed Schouten Date: Fri, 23 Dec 2016 15:57:46 +0100 Subject: [PATCH] Reduce the severity of these messages. They get printed all the time, as there are some tokens in the /proc file that we simply don't support. It's better to keep these as debugging messages, which may come in useful if new tags start to appear. --- collector/drbd_linux.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/collector/drbd_linux.go b/collector/drbd_linux.go index 3c2e948e..d5f4cd5e 100644 --- a/collector/drbd_linux.go +++ b/collector/drbd_linux.go @@ -203,10 +203,10 @@ func (c *drbdCollector) Update(ch chan<- prometheus.Metric) (err error) { drbdConnected, prometheus.GaugeValue, connected, device) } else { - log.Infof("Don't know how to process key-value pair [%s: %q]", kv[0], kv[1]) + log.Debugf("Don't know how to process key-value pair [%s: %q]", kv[0], kv[1]) } } else { - log.Infof("Don't know how to process string %q", field) + log.Debugf("Don't know how to process string %q", field) } } return scanner.Err()