diff --git a/doc/index.rst b/doc/index.rst index 07067e20..27ed3d5a 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -249,4 +249,4 @@ Known Issues - ``/rosout`` logging, which maps from ``rosgraph_msgs/Log`` to ``rcl_interfaces/Log``, requires `field selection `_. This `works with OpenSplice and Connext `_, but `not with Fast-RTPS `_. For it to work with Fast-RTPS, `this bug `_ needs to be fixed. - As a workaround, run the subscriber with ``__log_disable_rosout:=true``. + As a workaround, run the subscriber with ``--disable-rosout-logs``. diff --git a/src/dynamic_bridge.cpp b/src/dynamic_bridge.cpp index e618f550..3c3d96fd 100644 --- a/src/dynamic_bridge.cpp +++ b/src/dynamic_bridge.cpp @@ -472,7 +472,7 @@ int main(int argc, char * argv[]) } if (0 == strcmp(rmw_implementation, "") || NULL != strstr(rmw_implementation, "fastrtps")) { args.push_back("--ros-args"); - args.push_back("__log_disable_rosout:=true"); + args.push_back("--disable-rosout-logs"); } rclcpp::init(args.size(), args.data());