ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

How to list available loggers?

asked 2013-10-07 08:07:12 -0600

I'm using a rosconsole.config file and the ROSCONSOLE_CONFIG_FILE environment variable to specify where it is, but is there any way to get a list of available loggers without having to run rqt_logger_level?


edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2013-10-08 18:23:15 -0600

130s gravatar image

I know you want a solution without rqt_logger_level. Although I still refer to it, this answer doesn't depend on it.

Get a list of node names by rosnode list. Then, as in rqt_logger_level.LoggerLevelServiceCaller.send_logger_change_message, you can iteratively call rosservice.get_service_class_by_name to get a corresponding service to the given node name.


edit flag offensive delete link more


That looks great, thanks. The larger fix is probably to develop a curses-based rosconsole client—especially one capable of prepopulating from the roslaunch-logs dir and spitting out a rosconsole.config file which you can then point to from the ROSCONSOLE_CONFIG_FILE env var.

mikepurvis gravatar image mikepurvis  ( 2013-10-11 05:26:31 -0600 )edit

Question Tools

1 follower


Asked: 2013-10-07 08:07:12 -0600

Seen: 419 times

Last updated: Oct 08 '13