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>
diff --git a/redfish-core/lib/thermal_subsystem.hpp b/redfish-core/lib/thermal_subsystem.hpp
index d86e3c3..271951e 100644
--- a/redfish-core/lib/thermal_subsystem.hpp
+++ b/redfish-core/lib/thermal_subsystem.hpp
@@ -20,7 +20,7 @@
{
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;
}