Remove frequent logs

This commit is contained in:
LinkLeong 2022-11-30 04:10:46 +00:00
parent 299b20a087
commit 3b9c4b62c5

View file

@ -335,10 +335,8 @@ func GetCPUThermalZone() string {
} }
} else { } else {
if len(name) > 0 { //proves at least one zone if len(name) > 0 { //proves at least one zone
loger.Warn("CPU thermal zone not matched. Default to thermal_zone0.")
path = stub + "0" path = stub + "0"
} else { } else {
loger.Error("No CPU thermal zones found. CPU temp will not be displayed.")
path = "" path = ""
} }
break break