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

rosout and stderr not appearing in ROS_LOG_DIR

asked 2020-10-21 14:18:11 -0600

msmcconnell gravatar image

I changed the ROS_LOG_DIR from the default and now I am only seeing node specific stdout.log files in the generated folders. I know my nodes are generating stderr messages with ROS_ERROR_STREAM but I don't see any ERROR messages in the log or a rosout.log file.

Is there an additional setting I need to set for the rosout.log file and error logs to go to the ROS_LOG_DIR ?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2020-10-29 08:57:21 -0600

msmcconnell gravatar image

updated 2020-11-10 08:24:52 -0600

It appears that rosout.log is written by roscore and not each node as I had originally believed. I had roscore running in a separate location that did not have write permissions to that folder which is why rosout.log was not being generated. After resolving this, the log appears as normal.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2020-10-21 14:18:11 -0600

Seen: 364 times

Last updated: Nov 10 '20