Fix host error logged as INFO
At present org.open_power.Error.Host.Event.Event is handcoded
and is not part of the error map used by log manager to identify
the type of the error.
Resolves openbmc/openbmc#1953
Change-Id: I2f390c29c9b47adcf20efc32bbb02cf026d55758
Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
diff --git a/log_manager.cpp b/log_manager.cpp
index 175a000..5c11b92 100644
--- a/log_manager.cpp
+++ b/log_manager.cpp
@@ -140,7 +140,7 @@
AssociationList objects {};
processMetadata(errMsg, additionalData, objects);
- level reqLevel = level::INFO; // Default to INFO
+ level reqLevel = level::ERR; // Default to ERR
auto levelmap = g_errLevelMap.find(errMsg);
if (levelmap != g_errLevelMap.end())
{