diff options
author | Ratan Gupta <ratagupt@linux.vnet.ibm.com> | 2019-02-20 15:47:32 +0530 |
---|---|---|
committer | Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com> | 2019-03-06 18:22:15 +0000 |
commit | a929752bef26e02ccd103a5669a402ba2b5d5eec (patch) | |
tree | d1cc72aa4755c0f9d2c31875f3bec2e65921ed17 | |
parent | 6848428771dd466650d6f8556893ddf198160575 (diff) | |
download | phosphor-user-manager-a929752bef26e02ccd103a5669a402ba2b5d5eec.tar.gz phosphor-user-manager-a929752bef26e02ccd103a5669a402ba2b5d5eec.zip |
Corrected the error log message.
Change-Id: I682dda32c0482e0849289a70d5b3ffa624bb915d
Signed-off-by: Ratan Gupta <ratagupt@linux.vnet.ibm.com>
-rw-r--r-- | phosphor-ldap-config/ldap_configuration.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/phosphor-ldap-config/ldap_configuration.cpp b/phosphor-ldap-config/ldap_configuration.cpp index 0ce4c61..a54db9b 100644 --- a/phosphor-ldap-config/ldap_configuration.cpp +++ b/phosphor-ldap-config/ldap_configuration.cpp @@ -359,7 +359,8 @@ void ConfigMgr::restartService(const std::string& service) } catch (const sdbusplus::exception::SdBusError& ex) { - log<level::ERR>("Failed to restart nslcd service", + log<level::ERR>("Failed to restart service", + entry("SERVICE=%s", service.c_str()), entry("ERR=%s", ex.what())); elog<InternalFailure>(); } @@ -376,7 +377,8 @@ void ConfigMgr::stopService(const std::string& service) } catch (const sdbusplus::exception::SdBusError& ex) { - log<level::ERR>("Failed to stop nslcd service", + log<level::ERR>("Failed to stop service", + entry("SERVICE=%s", service.c_str()), entry("ERR=%s", ex.what())); elog<InternalFailure>(); } |