Redirect all ROS logs to stdout.
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)?
Asked by ssdasilva on 2021-06-02 08:38:41 UTC
Comments
Possible duplicate of https://answers.ros.org/question/9627/how-can-i-completely-disable-writing-logs-to-filesystem/?answer=374085#post-id-374085?
Asked by 130s on 2021-06-03 07:51:32 UTC
I want to redirect the log files to stdout. Not completely disable writing logs to filesystem...
Asked by ssdasilva on 2021-06-04 07:29:40 UTC
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: http://wiki.ros.org/diagnostic_aggregator). How could I redirect logs of this package to stdout?
Asked by ssdasilva on 2021-06-04 08:44:15 UTC