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-04-29 08:20:40 -0500
commitd8f561529ed3f564c686cca07c87c513cc2ce1ff (patch)
tree1e46d0814febd696c0d901419565f2b510ef62b4
parent0d3dbf0d342b91a648bf9fd16db8cc8a69551b39 (diff)
downloadphosphor-fan-presence-04-30-2018.zip
phosphor-fan-presence-04-30-2018.tar.gz
Speed up sensor presence detect04-30-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