Update Journal Variable Names
Journal entry variable names should be uppercase.
https://www.freedesktop.org/software/systemd/man/sd_journal_print.html
Change-Id: I1e7f6872d6f4be24f92458d6c1c4bab3b7dbcda0
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
diff --git a/item_updater.cpp b/item_updater.cpp
index 625147e..502a8e0 100644
--- a/item_updater.cpp
+++ b/item_updater.cpp
@@ -164,8 +164,8 @@
auto pnorTOC = iter.path() / PNOR_TOC_FILE;
if (!fs::is_regular_file(pnorTOC))
{
- log<level::ERR>("Failed to read pnorTOC.\n",
- entry("FileName=%s", pnorTOC.string()));
+ log<level::ERR>("Failed to read pnorTOC.",
+ entry("FILENAME=%s", pnorTOC.string()));
ItemUpdater::erase(id);
continue;
}
@@ -408,7 +408,7 @@
if (response.is_method_error())
{
log<level::ERR>("Error in fetching current Chassis State",
- entry("MapperResponse=%s",
+ entry("MAPPERRESPONSE=%s",
(mapperResponse.begin()->first).c_str()));
elog<InternalFailure>();
}