From 94c0fd12c207471a23b7cc54063137e328dd5089 Mon Sep 17 00:00:00 2001 From: Dane Powell Date: Wed, 31 Jan 2024 03:12:43 -0800 Subject: [PATCH] chore(inputs.temp): Convert warning on missing sensors to debug message (#14656) --- plugins/inputs/temp/temp_linux.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/inputs/temp/temp_linux.go b/plugins/inputs/temp/temp_linux.go index a7ef5fe15..ea373fc48 100644 --- a/plugins/inputs/temp/temp_linux.go +++ b/plugins/inputs/temp/temp_linux.go @@ -166,7 +166,7 @@ func (t *Temperature) gatherHwmon(syspath string) ([]TemperatureStat, error) { fn := filepath.Join(path, prefix+"_input") buf, err := os.ReadFile(fn) if err != nil { - t.Log.Warnf("Couldn't read temperature from %q: %v", fn, err) + t.Log.Debugf("Couldn't read temperature from %q: %v", fn, err) continue } if v, err := strconv.ParseFloat(strings.TrimSpace(string(buf)), 64); err == nil {