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>
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 @@
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;
}