Adjust the PSU related log level
Based on the spec, these PSU related logs should be warning.
Tested:
With two PSUs, remove one AC cable, and then remove the PSU,
Check the PSU related log in
https://$BMCIP/redfish/v1/Systems/system/LogServices/EventLog/Entries
Signed-off-by: Yong Li <yong.b.li@linux.intel.com>
Change-Id: Iebce710d7d003731cbb956738d8be212bf04ad0b
diff --git a/redfish-core/include/registries/openbmc_message_registry.hpp b/redfish-core/include/registries/openbmc_message_registry.hpp
index c09efe8..8fe6669 100644
--- a/redfish-core/include/registries/openbmc_message_registry.hpp
+++ b/redfish-core/include/registries/openbmc_message_registry.hpp
@@ -1254,7 +1254,7 @@
{
"Indicates an error in power supply configuration.",
"Power supply %1 configuration error.",
- "Critical",
+ "Warning",
1,
{"string"},
"None.",
@@ -1264,7 +1264,7 @@
{
"Indicates that the specified power supply fan has failed.",
"Power supply %1 fan %2 failed.",
- "Critical",
+ "Warning",
2,
{"string", "string"},
"None.",
@@ -1283,7 +1283,7 @@
{
"Indicates that a power supply has failed.",
"Power supply %1 failed.",
- "Critical",
+ "Warning",
1,
{"string"},
"None.",
@@ -1321,7 +1321,7 @@
{
"Indicates that a power supply has lost input power.",
"Power supply %1 power lost.",
- "Critical",
+ "Warning",
1,
{"string"},
"None.",