Show connect to bridge info to console (#35564)
diff --git a/examples/fabric-admin/commands/interactive/InteractiveCommands.cpp b/examples/fabric-admin/commands/interactive/InteractiveCommands.cpp
index aabcb09..47947bb 100644
--- a/examples/fabric-admin/commands/interactive/InteractiveCommands.cpp
+++ b/examples/fabric-admin/commands/interactive/InteractiveCommands.cpp
@@ -119,11 +119,13 @@
{
if (StartRpcClient() == CHIP_NO_ERROR)
{
- ChipLogProgress(NotSpecified, "Connected to Fabric-Bridge");
+ // print to console
+ fprintf(stderr, "Connected to Fabric-Bridge\n");
}
else
{
- ChipLogError(NotSpecified, "Failed to connect to Fabric-Bridge, retry in %d seconds....", kRetryIntervalS);
+ // print to console
+ fprintf(stderr, "Failed to connect to Fabric-Bridge, retry in %d seconds....\n", kRetryIntervalS);
systemLayer->StartTimer(System::Clock::Seconds16(kRetryIntervalS), AttemptRpcClientConnect, nullptr);
}
}