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

Revision history [back]

click to hide/show revision 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.