Redirect all ROS logs to stdout.

asked 2021-06-02 08:57:18 -0500

ssdasilva gravatar image

updated 2021-06-02 16:14:49 -0500

I'm creating an application using ROS. The nodes that I am using are creating some log files. I'd like to redirect all the logs into stdout. I set the rosnode output parameter to "screen" in the launch file, but the nodes keep creating some log files. How could I strictly redirect all the ROS node log messages, without having to create new log files (considering python nodes and C++ nodes)?

edit retag flag offensive close merge delete


130s gravatar image 130s  ( 2021-06-03 07:51:32 -0500 )edit

I want to redirect the log files to stdout. Not completely disable writing logs to filesystem...

ssdasilva gravatar image ssdasilva  ( 2021-06-04 07:29:40 -0500 )edit

I realized that most of the packages that are creating log files on my system is nodes of the package diagnostic_aggregator (which is a package maintained by ROS, as can be seen: How could I redirect logs of this package to stdout?

ssdasilva gravatar image ssdasilva  ( 2021-06-04 08:44:15 -0500 )edit