Skip to content

Commit 64a7918

Browse files
authoredSep 13, 2024··
Show connect to bridge info to console (project-chip#35564)
1 parent a192ec6 commit 64a7918

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed
 

‎examples/fabric-admin/commands/interactive/InteractiveCommands.cpp

+4-2
Original file line numberDiff line numberDiff line change
@@ -119,11 +119,13 @@ void AttemptRpcClientConnect(System::Layer * systemLayer, void * appState)
119119
{
120120
if (StartRpcClient() == CHIP_NO_ERROR)
121121
{
122-
ChipLogProgress(NotSpecified, "Connected to Fabric-Bridge");
122+
// print to console
123+
fprintf(stderr, "Connected to Fabric-Bridge\n");
123124
}
124125
else
125126
{
126-
ChipLogError(NotSpecified, "Failed to connect to Fabric-Bridge, retry in %d seconds....", kRetryIntervalS);
127+
// print to console
128+
fprintf(stderr, "Failed to connect to Fabric-Bridge, retry in %d seconds....\n", kRetryIntervalS);
127129
systemLayer->StartTimer(System::Clock::Seconds16(kRetryIntervalS), AttemptRpcClientConnect, nullptr);
128130
}
129131
}

0 commit comments

Comments
 (0)
Please sign in to comment.