diff --git a/src/app/OperationalSessionSetup.cpp b/src/app/OperationalSessionSetup.cpp index c7f4c32cab81c6..778cea2d7f7d80 100644 --- a/src/app/OperationalSessionSetup.cpp +++ b/src/app/OperationalSessionSetup.cpp @@ -308,7 +308,7 @@ CHIP_ERROR OperationalSessionSetup::EstablishConnection(const ResolveResult & re else { // we should not set the large payload while the TCP support is not enabled - ChipLogError(Discovery, "LargePayload support is enabled while TCP server support is not enabled"); + ChipLogError(Discovery, "LargePayload support is enabled while TCP server support is not enabled, PeerNodeId=" ChipLogFormatScopedNodeId, ChipLogValueScopedNodeId(mPeerId)); return CHIP_ERROR_INTERNAL; } }