summaryrefslogtreecommitdiff
path: root/redfish-core/lib/thermal_subsystem.hpp
diff options
context:
space:
mode:
authorGunnar Mills <gmills@us.ibm.com>2023-02-22 22:23:23 +0300
committerGunnar Mills <gmills@us.ibm.com>2023-03-09 05:22:38 +0300
commita7405d5fe77fa9e324c22cb29ea08029fc023f4e (patch)
treea5127a109f61dafb3c08c0957bdf7b38b9f351d6 /redfish-core/lib/thermal_subsystem.hpp
parent0e88cb374b42224753e78ea1a98b349511fbb9e6 (diff)
downloadbmcweb-a7405d5fe77fa9e324c22cb29ea08029fc023f4e.tar.xz
Move logging level to WARNING for 404
These are 4xx errors, 404 not found. Move the logging to WARNING so they don't log unless WARNING level is enabled. This follows the guidance in the commit below. Tested: None. Change-Id: I38b2bec64507d75286f79d61acf7a96226598e0b Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
Diffstat (limited to 'redfish-core/lib/thermal_subsystem.hpp')
-rw-r--r--redfish-core/lib/thermal_subsystem.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/redfish-core/lib/thermal_subsystem.hpp b/redfish-core/lib/thermal_subsystem.hpp
index d86e3c30db..271951ecb3 100644
--- a/redfish-core/lib/thermal_subsystem.hpp
+++ b/redfish-core/lib/thermal_subsystem.hpp
@@ -20,7 +20,7 @@ inline void doThermalSubsystemCollection(
{
if (!validChassisPath)
{
- BMCWEB_LOG_ERROR << "Not a valid chassis ID" << chassisId;
+ BMCWEB_LOG_WARNING << "Not a valid chassis ID" << chassisId;
messages::resourceNotFound(asyncResp->res, "Chassis", chassisId);
return;
}