summaryrefslogtreecommitdiffstats
path: root/user_channel
diff options
context:
space:
mode:
authorRichard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com>2019-06-03 19:27:48 +0530
committerRichard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com>2019-06-12 01:16:39 +0000
commitc419680b2905f5ed559a6eed43387cdc827125af (patch)
tree59edc548d9a5f130910f7c20e032234791cfb8f9 /user_channel
parent02650d53027326ed9b24a58b23596a74e5456654 (diff)
downloadphosphor-host-ipmid-c419680b2905f5ed559a6eed43387cdc827125af.tar.gz
phosphor-host-ipmid-c419680b2905f5ed559a6eed43387cdc827125af.zip
user_mgmt: Fix error message with file name
Updated error message with proper config file name Tested: Verified that file name is properly listed in error message Change-Id: I0c2552000f704f3b4b541b8fe90adec966a6616a Signed-off-by: Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com>
Diffstat (limited to 'user_channel')
-rw-r--r--user_channel/channel_mgmt.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/user_channel/channel_mgmt.cpp b/user_channel/channel_mgmt.cpp
index 932795c..6559a43 100644
--- a/user_channel/channel_mgmt.cpp
+++ b/user_channel/channel_mgmt.cpp
@@ -824,7 +824,8 @@ Json ChannelConfig::readJsonFile(const std::string& configFile)
std::ifstream jsonFile(configFile);
if (!jsonFile.good())
{
- log<level::ERR>("JSON file not found");
+ log<level::INFO>("JSON file not found",
+ entry("FILE_NAME=%s", configFile.c_str()));
return nullptr;
}
OpenPOWER on IntegriCloud