summaryrefslogtreecommitdiffstats
path: root/monitor/fan.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'monitor/fan.cpp')
-rw-r--r--monitor/fan.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/monitor/fan.cpp b/monitor/fan.cpp
index 195317c..f3937c2 100644
--- a/monitor/fan.cpp
+++ b/monitor/fan.cpp
@@ -187,7 +187,10 @@ void Fan::timerExpired(TachSensor& sensor)
if (_functional && tooManySensorsNonfunctional())
{
log<level::ERR>("Setting a fan to nonfunctional",
- entry("FAN=%s", _name.c_str()));
+ entry("FAN=%s", _name.c_str()),
+ entry("TACH_SENSOR=%s", sensor.name().c_str()),
+ entry("ACTUAL_SPEED=%lld", sensor.getInput()),
+ entry("TARGET_SPEED=%lld", getTargetSpeed(sensor)));
updateInventory(false);
}
OpenPOWER on IntegriCloud