summaryrefslogtreecommitdiffstats
path: root/control
diff options
context:
space:
mode:
authorMatthew Barth <msbarth@us.ibm.com>2017-12-11 13:36:02 -0600
committerMatthew Barth <msbarth@us.ibm.com>2017-12-11 15:42:06 -0600
commite65f617c6a79eb92c122310f35ddb8a496e729fd (patch)
tree378ccbca069ae65b46167fd3f9341d0fcd6cdc15 /control
parentc63973a1810dfbba60cb00d4a11d609cb32908eb (diff)
downloadphosphor-fan-presence-e65f617c6a79eb92c122310f35ddb8a496e729fd.tar.gz
phosphor-fan-presence-e65f617c6a79eb92c122310f35ddb8a496e729fd.zip
Add path to trace for missing property
When a property can not be found after receiving a property changed signal include the path for the property on the journal entry. Change-Id: Ie0151b943914e02d38bf89760f8a16dc530aa89e Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
Diffstat (limited to 'control')
-rw-r--r--control/functor.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/control/functor.hpp b/control/functor.hpp
index de04226..06e8db9 100644
--- a/control/functor.hpp
+++ b/control/functor.hpp
@@ -96,7 +96,8 @@ struct PropertyChanged
{
log<level::ERR>("Unable to find property on interface",
entry("PROPERTY=%s", _property),
- entry("INTERFACE=%s", _iface));
+ entry("INTERFACE=%s", _iface),
+ entry("PATH=%s", _path));
return;
}
OpenPOWER on IntegriCloud