ROS Resources: Documentation | Support | Discussion Forum | Service Status | Q&A

ROS2 Setting severity level for a named logger

I am trying to figure out if there is a way to set the severity level on a named logger? Right now I’m using rcutils_logging_set_severity_threshold() but that’s setting it globally so I’m getting both my node level DEBUG output as well as rmw_fastrtps_cpp. I’d like a way to set it for just my node.

No, not at the moment.

This will require us to either pick an existing library or implement our own map-like data structure in C.

The feature is listed on the roadmap but not scheduled for a specific milestone yet.

I have the same question and it’s been some time since you replied.
I took a look at he roadmap and wasn’t able to figure out if it was implemented or it is still only projected.
Please let me know.


I think the logging tutorial is up to date.

1 Like