From 9c6b0159a6d9f71d0bbc1301d1f605add3f91da3 Mon Sep 17 00:00:00 2001 From: Yong Li Date: Thu, 19 Dec 2019 17:57:49 +0800 Subject: 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 Change-Id: Iebce710d7d003731cbb956738d8be212bf04ad0b --- redfish-core/include/registries/openbmc_message_registry.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'redfish-core') diff --git a/redfish-core/include/registries/openbmc_message_registry.hpp b/redfish-core/include/registries/openbmc_message_registry.hpp index c09efe875b..8fe66690be 100644 --- a/redfish-core/include/registries/openbmc_message_registry.hpp +++ b/redfish-core/include/registries/openbmc_message_registry.hpp @@ -1254,7 +1254,7 @@ constexpr std::array registry = { { "Indicates an error in power supply configuration.", "Power supply %1 configuration error.", - "Critical", + "Warning", 1, {"string"}, "None.", @@ -1264,7 +1264,7 @@ constexpr std::array registry = { { "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 @@ constexpr std::array registry = { { "Indicates that a power supply has failed.", "Power supply %1 failed.", - "Critical", + "Warning", 1, {"string"}, "None.", @@ -1321,7 +1321,7 @@ constexpr std::array registry = { { "Indicates that a power supply has lost input power.", "Power supply %1 power lost.", - "Critical", + "Warning", 1, {"string"}, "None.", -- cgit v1.2.3