chore(inputs.temp): Convert warning on missing sensors to debug message (#14656)
This commit is contained in:
parent
93783f813b
commit
94c0fd12c2
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue