Clean-up: entry code msgs in user_channel cpp files
Cleaning up phosphor logging entry messages from
the usage of ':' to '=' in the whole user_channel
dir cpp files.
Signed-off-by: Ayushi Smriti <smriti.ayushi@linux.intel.com>
Change-Id: Ifa8eb35751279cf6bebd876105b7a4d24deb98a0
diff --git a/user_channel/user_mgmt.cpp b/user_channel/user_mgmt.cpp
index d0dcb38..aa20c2b 100644
--- a/user_channel/user_mgmt.cpp
+++ b/user_channel/user_mgmt.cpp
@@ -775,7 +775,7 @@
if (ipmiUserGetUserName(userId, userName) != IPMI_CC_OK)
{
log<level::DEBUG>("User Name not found",
- entry("USER-ID:%d", (uint8_t)userId));
+ entry("USER-ID=%d", (uint8_t)userId));
return IPMI_CC_PARM_OUT_OF_RANGE;
}
std::string passwd;
@@ -785,13 +785,13 @@
std::regex("[a-zA-z_0-9][a-zA-Z_0-9,?:`!\"]*")))
{
log<level::DEBUG>("Invalid password fields",
- entry("USER-ID:%d", (uint8_t)userId));
+ entry("USER-ID=%d", (uint8_t)userId));
return IPMI_CC_INVALID_FIELD_REQUEST;
}
if (!pamUpdatePasswd(userName.c_str(), passwd.c_str()))
{
log<level::DEBUG>("Failed to update password",
- entry("USER-ID:%d", (uint8_t)userId));
+ entry("USER-ID=%d", (uint8_t)userId));
return IPMI_CC_UNSPECIFIED_ERROR;
}
return IPMI_CC_OK;