Skip to content

Add environment variable to configure logging level #165

@windelbouwman

Description

@windelbouwman

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions