Update PEL severity
Updating PEL severity for callback failure to informational.
No need to log predective PEL in this scenario.
Change-Id: I2982b48c51f1d9af44d2bc4ab328e8ac3332c1a7
Signed-off-by: Sunny Srivastava <sunnsr25@in.ibm.com>
diff --git a/vpd-manager/src/listener.cpp b/vpd-manager/src/listener.cpp
index 49825fd..caceeea 100644
--- a/vpd-manager/src/listener.cpp
+++ b/vpd-manager/src/listener.cpp
@@ -191,7 +191,7 @@
catch (const std::exception& l_ex)
{
EventLogger::createSyncPel(
- EventLogger::getErrorType(l_ex), types::SeverityType::Warning,
+ EventLogger::getErrorType(l_ex), types::SeverityType::Informational,
__FILE__, __FUNCTION__, 0,
"Register presence change callback failed, reason: " +
std::string(l_ex.what()),
@@ -237,7 +237,7 @@
catch (const std::exception& l_ex)
{
EventLogger::createSyncPel(
- EventLogger::getErrorType(l_ex), types::SeverityType::Warning,
+ EventLogger::getErrorType(l_ex), types::SeverityType::Informational,
__FILE__, __FUNCTION__, 0,
"Process presence change callback failed, reason: " +
std::string(l_ex.what()),