Today I tried to debug my ROS2 setup, but I was unable to get detailed logging output. It would be good to be able to set the default log level via an environment variable.
My idea would be to be able to do this:
- export RCUTILS_LOG_LEVEL=DEBUG
- run executable with more debug output than normally the case.
Is this a good idea? Or did I miss some other option to troubleshoot my setup?