-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add environment variable to configure logging level #165
Comments
There are several ways to increase the logging levels in ROS 2. There is a concept page and a tutorial page . I'm going to close this out, but if you feel that those aren't sufficient, feel free to keep commenting, reopen, or ideally provide a PR to https://github.com/ros2/ros2_documentation to improve the documentation. |
@clalancette , per the link cited, is there a ticket tracking external configuration of loggers at runtime?
I'd like to set the log level for an entire launch file without modifying the third party package it belongs to. |
There are quite a few open bugs in this area:
|
Is anyone currently working on these? If not, I'll take a look at them. |
Not that I know of. If you are interested in this, we'd welcome the help. In that case, I'll suggest starting with ros2/design#314 , and coming up with a design document that describes what we want the logging subsystem to be. From there, we can determine what pieces we have and what is missing. With all of that information in hand, we can then move forward with implementing the remaining pieces. |
I'll take a look at this then and try to get a first-pass PR up in the next week. |
PR is up here: ros2/design#315 |
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:
Is this a good idea? Or did I miss some other option to troubleshoot my setup?
The text was updated successfully, but these errors were encountered: