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

Send all ros logs to stdout/stderr

asked 2022-12-15 15:00:19 -0500

Hello, we are running ros in a docker container deployed via our container orchestrator. Our orchestrator is configured to collect logs from containers via stdout and stderr. I know that ros logs some things to stdout/err but also some things to a log file. Is there a way to make ros log everything to stdout/stderr? Thank you.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-12-16 07:51:33 -0500

Mike Scheutzow gravatar image

I believe adding the --screen option to your roslaunch command line will do this.

edit flag offensive delete link more

Comments

Hi Mike, thank you for the quick response! I checked in with my team member who works on our ros instances and she said "the --screen option applies only to roslaunch files, it doesn't work for the rest of our tasks that we directly start from command line". So it sounds like this will work for some of our ros tasks but not all of them. Does that make sense to you?

johnnyplaydrums gravatar image johnnyplaydrums  ( 2022-12-16 13:14:03 -0500 )edit

Are you saying you have a ros node that can not be put in a launch file? Please show us details.

Mike Scheutzow gravatar image Mike Scheutzow  ( 2022-12-17 08:14:24 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2022-12-15 15:00:19 -0500

Seen: 145 times

Last updated: Dec 16 '22