Skip to content
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 OTEL_LOG_LEVEL support #372

Closed
pellared opened this issue Feb 17, 2022 · 2 comments · Fixed by #2288
Closed

Add OTEL_LOG_LEVEL support #372

pellared opened this issue Feb 17, 2022 · 2 comments · Fixed by #2288
Labels
enhancement New feature or request
Milestone

Comments

@pellared
Copy link
Member

pellared commented Feb 17, 2022

What

Add support for OTEL_LOG_LEVEL. The supported values could be:

  • none
  • error
  • warn
  • info
  • debug

Why

It would be good to add a possibility to configure the logging level.

Origin of the proposed values: open-telemetry/opentelemetry-specification#2039

I think it can be done after 0.1.0-beta.

@pellared pellared added the enhancement New feature or request label Feb 17, 2022
@pellared
Copy link
Member Author

pellared commented Feb 23, 2022

SIG meeting notes

Check how .NET SDK does it and try to keep it in line.
We can consider to work on it in several steps:

  1. Add support in our managed code
  2. Add support in out native code
  3. Standardize/correlate with SDK logs?
  4. ?

We can try addressing it quickly post-beta. For beta we can hardcode the debug level.

@pellared pellared added this to the 1.0.0-rc milestone Feb 23, 2022
@pellared
Copy link
Member Author

pellared commented Apr 8, 2022

Related comment: #458 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

Successfully merging a pull request may close this issue.

1 participant