Fix entries used by phosphor-logging

Fixed entires used by phosphor::logging::log function. Now logs
display proper information.

Tested: - Verified if logs contain correct entries

Change-Id: I5254555aa55bbe06c882d7024db911812e6f3f63
Signed-off-by: Wludzik, Jozef <jozef.wludzik@intel.com>
diff --git a/src/persistent_json_storage.cpp b/src/persistent_json_storage.cpp
index 58a2e6c..896c8a9 100644
--- a/src/persistent_json_storage.cpp
+++ b/src/persistent_json_storage.cpp
@@ -18,7 +18,7 @@
         std::error_code ec;
 
         phosphor::logging::log<phosphor::logging::level::DEBUG>(
-            "Store to file", phosphor::logging::entry("path=%s", path.c_str()));
+            "Store to file", phosphor::logging::entry("PATH=%s", path.c_str()));
 
         std::filesystem::create_directories(path.parent_path(), ec);
         if (ec)
@@ -55,8 +55,8 @@
     {
         phosphor::logging::log<phosphor::logging::level::ERR>(
             "Unable to remove file",
-            phosphor::logging::entry("path=%s, ec= %lu: %s", path.c_str(),
-                                     ec.value(), ec.message().c_str()));
+            phosphor::logging::entry("PATH=%s", path.c_str()),
+            phosphor::logging::entry("ERROR_CODE=%d", ec.value()));
         return false;
     }