fabric-bridge: flush logs on info, log worker thread start
This commit is contained in:
@@ -87,7 +87,7 @@ void FabricBridgeNode::on_remove_reader(const std::string& port_id) {
|
||||
|
||||
void FabricBridgeNode::process() {
|
||||
if (!worker_thread_.has_value() && start_requested_.load()) {
|
||||
running_ = true;
|
||||
spdlog::info("Fabric-bridge: starting worker thread (mode={})", mode_ == FabricMode::Initiator ? "initiator" : "target");
|
||||
if (mode_ == FabricMode::Initiator) {
|
||||
worker_thread_ = std::thread(&FabricBridgeNode::run_initiator, this);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user