summaryrefslogtreecommitdiffstats
path: root/src/resolve_errors.cpp
diff options
context:
space:
mode:
authorMatt Spinler <spinler@us.ibm.com>2018-09-18 15:27:04 -0500
committerMatt Spinler <spinler@us.ibm.com>2018-09-18 15:27:04 -0500
commit6383049ee6b16b625d1a3f926bf60113b8495d7a (patch)
treefc31447c7a2aca76e7f7b5bbc751c9048cd88532 /src/resolve_errors.cpp
parent3d6d3182ee0b0e88b81fbbbe5c91dea3e99425a9 (diff)
downloadphosphor-dbus-monitor-6383049ee6b16b625d1a3f926bf60113b8495d7a.tar.gz
phosphor-dbus-monitor-6383049ee6b16b625d1a3f926bf60113b8495d7a.zip
Fix some journal metadata
Code shouldn't use MESSAGE in journal metadata as MESSAGE is already taken by the journal message field. Change-Id: I6b1e9033b2028e4fff67cbbeb1824f260657c247 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Diffstat (limited to 'src/resolve_errors.cpp')
-rw-r--r--src/resolve_errors.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resolve_errors.cpp b/src/resolve_errors.cpp
index e932aff..caa8cf8 100644
--- a/src/resolve_errors.cpp
+++ b/src/resolve_errors.cpp
@@ -72,7 +72,7 @@ void ResolveCallout::operator()(Context ctx)
{
log<level::ERR>("Failed getting callout fault associations",
entry("CALLOUT=%s", callout.c_str()),
- entry("MESSAGE=%s", e.what()));
+ entry("ERROR=%s", e.what()));
}
}
@@ -107,7 +107,7 @@ void ResolveCallout::resolve(const std::string& logEntry)
{
log<level::ERR>("Unable to resolve error log entry",
entry("ENTRY=%s", logEntry.c_str()),
- entry("MESSAGE=%s", e.what()));
+ entry("ERROR=%s", e.what()));
}
}
OpenPOWER on IntegriCloud