Namespaces with per-logger log levels specification (galactic)

I’ve recently been testing ROS2 galactic and tried using the new per-logger log levels here. I am using it with namespaces and couldn’t get it to work. Is there a way to use it with namespaces?

The command I am using is:

ros2 run robot_control vehicle --ros-args -r __ns:=/drone_0 --log-level vehicle:=DEBUG

I’ve also tried the following after using ros2 node list to get the node names:

ros2 run robot_control vehicle --ros-args -r __ns:=/drone_0 --log-level /drone_0/vehicle:=DEBUG

I moved this question to ROS answers here

2 Likes