ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
We handle this problem using the --screen
option to roslaunch. This redirects all log messages to stdout/stderr, giving our code control of log message storage and rotation.
It's a good idea to set environment variable PYTHON_UNBUFFERED=1
for roslaunch in order to suppress the internal stdout/stderr buffering done by python.