Reduce some Error log severities
There are instances of ERROR logs that would work better as WARNING or
DEBUG since they do not actually result in bailing early and returning
an error response.
Signed-off-by: Carson Labrado <clabrado@google.com>
Change-Id: I1e7bca0bb38487b26a4642ab72ce475170bb53c6
diff --git a/redfish-core/lib/account_service.hpp b/redfish-core/lib/account_service.hpp
index 9f2748d..9a45404 100644
--- a/redfish-core/lib/account_service.hpp
+++ b/redfish-core/lib/account_service.hpp
@@ -564,7 +564,7 @@
const dbus::utility::MapperGetObject& resp) {
if (ec || resp.empty())
{
- BMCWEB_LOG_ERROR(
+ BMCWEB_LOG_WARNING(
"DBUS response error during getting of service name: {}", ec);
LDAPConfigData empty{};
callback(false, empty, ldapType);
@@ -581,7 +581,7 @@
if (ec2)
{
callback(false, confData, ldapType);
- BMCWEB_LOG_ERROR("D-Bus responses error: {}", ec2);
+ BMCWEB_LOG_WARNING("D-Bus responses error: {}", ec2);
return;
}