We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 980649b commit 9e8974dCopy full SHA for 9e8974d
src/web_video_server.cpp
@@ -294,9 +294,10 @@ bool WebVideoServer::handle_shutdown(
294
}
295
296
if (verbose_) {
297
+ const std::string client_id_info = client_id.empty() ? "" : " (client_id='" + client_id + "')";
298
RCLCPP_INFO(
- get_logger(), "Shutdown request for topic '%s' (client_id='%s'): stopped %d stream(s)",
299
- topic.c_str(), client_id.c_str(), stopped);
+ get_logger(), "Shutdown request for topic '%s'%s: stopped %d stream(s)",
300
+ topic.c_str(), client_id_info.c_str(), stopped);
301
302
303
async_web_server_cpp::HttpReply::builder(async_web_server_cpp::HttpReply::ok)
0 commit comments