Node wise separated ROS_DEBUG and ROS_INFO logs

asked 2018-06-29 15:43:04 -0500

aorait gravatar image

The logs for ROS_INFO and ROS_DEBUG go to a common rosout.log. I checked this in the ~/.ros/log/latest folder. I want a logging where the logs go to respective nodes' logs for example: <node_name>-rosout.log.

I have gone thru the documentation http://wiki.ros.org/rosconsole and it mentions how to format with the node name etc. but what I want is to have separate files for different nodes.

Any example on how to do this would be useful.

edit retag flag offensive close merge delete