demote warning log message about not being able to open /sys/class/hwmon to the API debug log to prevent it from filling up the log when not available
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
This commit is contained in:
parent
a0d655432a
commit
4cd500dfac
|
@ -368,7 +368,7 @@ static int get_hwmon_sensors(struct ftl_conn *api, cJSON *sensors)
|
|||
if(hwmon_dir == NULL)
|
||||
{
|
||||
// Nothing to read here, leave array empty
|
||||
log_warn("Cannot open %s: %s", dirname, strerror(errno));
|
||||
log_debug(DEBUG_API, "Cannot open %s: %s", dirname, strerror(errno));
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue