Can you configure ros2 launch logging?

asked 2019-07-24 10:03:24 -0500

csdgn gravatar image

Is it possible to configure the default logging in ros2 launch in ROS 2 Dashing Diademata (which I am running inside a Ubuntu 18.04 docker)?

I am speaking of the logging location and he logging verbosity that is noted when launching, such as the following.

[INFO] [launch]: All log files can be found below /home/<user>/.ros/log/<date>-<time>-<hostname>-<???>

[INFO] [launch]: Default logging verbosity is set to INFO

Preferably I would like to modify these with command line arguments to ros2 launch, or with global variables of some kind, since that logging line occurs before the launch python file is loaded. But any method would be appreciated, even if I have to write my own launcher.

I want to either redirect the log, disable the built in logging, and/or change the verbosity level. The source has some of this, but after combing through it I found no obvious way of configuring these.

Any help would be appreciated, thank you for your time.

edit retag flag offensive close merge delete