summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaptor Engineering Development Team <support@raptorengineering.com>2018-04-29 08:20:07 -0500
committerRaptor Engineering Development Team <support@raptorengineering.com>2018-05-04 00:52:54 -0500
commit201eac66011ceb4c7f9ab6bf0347c594c38ac9d1 (patch)
tree3165a4910ac22b516f6526424cd555ea077dca08
parent2d1a044ebaedbc9bcf9e95d5b60420ed9e18a2d6 (diff)
downloadphosphor-fan-presence-05-04-2018.zip
phosphor-fan-presence-05-04-2018.tar.gz
Speed up sensor presence detectHEADmaster05-04-2018
This partially reverts GIT hash c72b8911
-rw-r--r--control/functor.hpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/control/functor.hpp b/control/functor.hpp
index 0a2b955..672b0a8 100644
--- a/control/functor.hpp
+++ b/control/functor.hpp
@@ -107,9 +107,7 @@ struct PropertyChanged
{
try
{
- auto service = zone.getService(_path, _iface);
auto val = util::SDBusPlus::getProperty<T>(bus,
- service,
_path,
_iface,
_property);
@@ -120,10 +118,13 @@ struct PropertyChanged
// Property will not be used unless a property changed
// signal message is received for this property.
log<level::INFO>(
- "Property not used, unless PropertyChanged signal received",
+ "Property not used, unless PropertyChanged signal received. Hardware not installed or sensor not functional.",
entry("PATH=%s", _path),
entry("INTERFACE=%s", _iface),
entry("PROPERTY=%s", _property));
+ log<level::INFO>(_path);
+ log<level::INFO>(_iface);
+ log<level::INFO>(_property);
}
}
}
OpenPOWER on IntegriCloud