diff options
Diffstat (limited to 'control/functor.hpp')
-rw-r--r-- | control/functor.hpp | 7 |
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); } } } |