diff options
author | Yong Li <yong.b.li@linux.intel.com> | 2019-12-19 17:57:49 +0800 |
---|---|---|
committer | Yong Li <yong.b.li@intel.com> | 2019-12-20 03:02:40 +0000 |
commit | 9c6b0159a6d9f71d0bbc1301d1f605add3f91da3 (patch) | |
tree | 0014393fb14065617023eb680d71e3ae75102b26 | |
parent | 0e1cf26b1cd98e0ec069e6187434fcabf1e9c200 (diff) | |
download | bmcweb-9c6b0159a6d9f71d0bbc1301d1f605add3f91da3.tar.gz bmcweb-9c6b0159a6d9f71d0bbc1301d1f605add3f91da3.zip |
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
-rw-r--r-- | redfish-core/include/registries/openbmc_message_registry.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
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 @@ constexpr std::array<MessageEntry, 143> 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<MessageEntry, 143> 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<MessageEntry, 143> registry = { { "Indicates that a power supply has failed.", "Power supply %1 failed.", - "Critical", + "Warning", 1, {"string"}, "None.", @@ -1321,7 +1321,7 @@ constexpr std::array<MessageEntry, 143> registry = { { "Indicates that a power supply has lost input power.", "Power supply %1 power lost.", - "Critical", + "Warning", 1, {"string"}, "None.", |