Minor logging fixes Changed the severity of the debug logs to debug and changed the pretty name of the crash dump to iliad from RP (this can be misread as RootPort) Tested: The debug logs are not seen by default Google-Bug-Id: 531772851 Change-Id: Ie6bc33213fb2b0093b04ea93947e24622fb97e66 Signed-off-by: Vikram Gara <vikramgara@google.com>
diff --git a/platform-mc/event_manager.cpp b/platform-mc/event_manager.cpp index 5fcbfb7..8c45235 100644 --- a/platform-mc/event_manager.cpp +++ b/platform-mc/event_manager.cpp
@@ -523,7 +523,7 @@ createParams["PrimaryLogId"] = std::to_string(tid); createParams["Log"] = latestFile; createParams["PrettyName"] = - "RP " + std::to_string(tid) + " crashdump"; + "Iliad-e " + std::to_string(tid) + " crashdump"; method.append(createParams); auto reply = bus.call(method); lg2::info(
diff --git a/platform-mc/platform_manager.cpp b/platform-mc/platform_manager.cpp index d78b90d..548cb1a 100644 --- a/platform-mc/platform_manager.cpp +++ b/platform-mc/platform_manager.cpp
@@ -169,7 +169,7 @@ } } - lg2::info("CHECKING IF TERMINUS SUPPORTS SET_EVENT_RECEIVER..."); + lg2::debug("CHECKING IF TERMINUS SUPPORTS SET_EVENT_RECEIVER..."); if (!terminus->doesSupportCommand(PLDM_PLATFORM, PLDM_SET_EVENT_RECEIVER)) { lg2::error("Terminus {TID} does not support Event", "TID", tid); @@ -216,8 +216,8 @@ if (eventMessageGlobalEnable != PLDM_EVENT_MESSAGE_GLOBAL_DISABLE) { - lg2::info("ABOUT TO SEND SET EVENT RECEIVER WITH ENABLE FLAG: {FLAG}", - "FLAG", eventMessageGlobalEnable); + lg2::debug("ABOUT TO SEND SET EVENT RECEIVER WITH ENABLE FLAG: {FLAG}", + "FLAG", eventMessageGlobalEnable); auto rc = co_await setEventReceiver(tid, eventMessageGlobalEnable, PLDM_TRANSPORT_PROTOCOL_TYPE_MCTP, heartbeatTimer); @@ -553,7 +553,7 @@ co_return rc; } - lg2::info( + lg2::debug( "Sending SetEventReceiver to terminus ID {TID} urging it to send events to our local EID {EID}...", "TID", tid, "EID", dynamicLocalEid);