Fix TI level 2 callout to use FFDCFormat::JSON instead of Custom
Signed-off-by: Caleb Palmer <cnpalmer@us.ibm.com>
Change-Id: Ia8f59f69a4e1fa76d38e6eed00cc3da9cc609d2e
diff --git a/attn/attn_logging.cpp b/attn/attn_logging.cpp
index db14a92..f2873da 100644
--- a/attn/attn_logging.cpp
+++ b/attn/attn_logging.cpp
@@ -484,11 +484,12 @@
auto userData = createFFDCFiles(i_tiInfoData, tiInfoSize);
// Per request from the Hostboot team. Add a level 2 callout.
- userData.emplace_back(util::FFDCFormat::Custom, 0xCA, 0x01);
+ userData.emplace_back(util::FFDCFormat::JSON, 0xCA, 0x01);
std::ofstream o{userData.back().getPath()};
o << nlohmann::json::parse(R"(
[ { "Procedure": "next_level_support", "Priority": "L" } ]
)");
+ o.close();
event(EventType::Terminate, i_additionalData, userData);
}