ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I know this question was asked before dashing was released, and that eloquent is being released soon with changed syntax...
But for dashing, you can use the following syntax:
launch_ros.actions.Node(package='demo_nodes_cpp',
node_executable='talker',
output='screen',
parameters=[config_file],
arguments=[('__log_level:=debug')])
This will set the log level to debug for every node being run in this process (rcl, rclcpp, the rmw layer). I don't know how to restrict the log changes to just "talker" node unfortunately. I think logging is still a work in progress.