From da4a253dd82fd49e0d1d87f3bc6cac70ad053115 Mon Sep 17 00:00:00 2001 From: Sid Dahiya Date: Wed, 27 May 2020 16:59:14 -0700 Subject: [PATCH] Remove markup code in JsonFormatter.cpp --- lib/system/JsonFormatter.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/system/JsonFormatter.cpp b/lib/system/JsonFormatter.cpp index 2a8cf7a3..fbd681fa 100644 --- a/lib/system/JsonFormatter.cpp +++ b/lib/system/JsonFormatter.cpp @@ -144,10 +144,6 @@ namespace ARIASDK_NS_BEGIN ans["ext"]["metadata"]["privTags"] = source->data[0].properties[COMMONFIELDS_EVENT_PRIVTAGS].longValue; source->data[0].properties.erase(COMMONFIELDS_EVENT_PRIVTAGS); } - if (source->data[0].properties.find(COMMONFIELDS_EVENT_LEVEL) != source->data[0].properties.end()) { - ans["EventInfo"]["Level"] = source->data[0].properties[COMMONFIELDS_EVENT_LEVEL].longValue; - source->data[0].properties.erase(COMMONFIELDS_EVENT_LEVEL); - } addExtApp(ans, source->extApp); addExtNet(ans, source->extNet); @@ -175,7 +171,6 @@ namespace ARIASDK_NS_BEGIN source->data[0].properties.erase(COMMONFIELDS_EVENT_NAME); source->data[0].properties.erase(COMMONFIELDS_EVENT_INITID); source->data[0].properties.erase(COMMONFIELDS_EVENT_PRIVTAGS); - source->data[0].properties.erase(COMMONFIELDS_EVENT_LEVEL); source->data[0].properties.erase(COMMONFIELDS_METADATA_VIEWINGPRODUCERID); source->data[0].properties.erase(COMMONFIELDS_METADATA_VIEWINGCATEGORY); source->data[0].properties.erase(COMMONFIELDS_METADATA_VIEWINGPAYLOADDECODERPATH);