ros2 / launch

Tools for launching multiple processes and for writing tests involving multiple processes.
Apache License 2.0
126 stars 144 forks source link

`ros2 launch` bug for `$OVERRIDE_LAUNCH_PROCESS_OUTPUT` #699

Open cfveeden opened 1 year ago

cfveeden commented 1 year ago

Bug report

Required Info:

Steps to reproduce issue

export ROS_LOG_DIR=~/.ros2/reproduce/
export OVERRIDE_LAUNCH_PROCESS_OUTPUT=screen
ros2 launch your_package your_launch.xml # launch anything that logs

Expected behavior

The launch specific logging messages should only be output to the screen and should not be written to launch.log.

Actual behavior

Irrespective of $OVERRIDE_LAUNCH_PROCESS_OUTPUT's value, launch specific logs get written to $ROS_LOG_DIR/*/launch.log.

Additional information

Additionally, it would be good if users could disable launch specific logging entirely since this option is not provided at the moment.