Capture dump when an error with the name InternalFailure is logged
Change-Id: I2a362b674022dbe1ea8bfe16876d0416f87d0af1
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
diff --git a/dump_manager.cpp b/dump_manager.cpp
index bf2e0a2..6ac636d 100644
--- a/dump_manager.cpp
+++ b/dump_manager.cpp
@@ -44,7 +44,8 @@
//Type to dreport type string map
static const std::map<Type, std::string> typeMap =
{{Type::ApplicationCored, "core"},
- {Type::UserRequested, "user"}};
+ {Type::UserRequested, "user"},
+ {Type::InternalFailure, "elog"}};
//Get Dump size.
auto size = getAllowedSize();