diff options
author | Gunnar Mills <gmills@us.ibm.com> | 2017-10-19 17:04:38 -0500 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2017-10-25 00:28:19 +0000 |
commit | 850d5f6b4c01a7e6e3bc93fe4b840d60755d8952 (patch) | |
tree | dc1c09b9326a596700c0f749f04cdd2359081ef1 | |
parent | fbee1894082f37b8f39b96f45ac79e46c387f475 (diff) | |
download | openpower-pnor-code-mgmt-850d5f6b4c01a7e6e3bc93fe4b840d60755d8952.tar.gz openpower-pnor-code-mgmt-850d5f6b4c01a7e6e3bc93fe4b840d60755d8952.zip |
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>
-rw-r--r-- | item_updater.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/item_updater.cpp b/item_updater.cpp index 625147ec5..502a8e003 100644 --- a/item_updater.cpp +++ b/item_updater.cpp @@ -164,8 +164,8 @@ void ItemUpdater::processPNORImage() 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 @@ bool ItemUpdater::isChassisOn() 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>(); } |