Skip to content

[SDK] DefaultLogHandler to print errors to std::cerr, add LogLevel::None#2622

Merged
marcalff merged 9 commits intoopen-telemetry:mainfrom
marcalff:fix_otel_log_level_2611
Apr 13, 2024
Merged

[SDK] DefaultLogHandler to print errors to std::cerr, add LogLevel::None#2622
marcalff merged 9 commits intoopen-telemetry:mainfrom
marcalff:fix_otel_log_level_2611

Conversation

@marcalff
Copy link
Copy Markdown
Member

@marcalff marcalff commented Mar 28, 2024

Fixes #2611

Changes

Please provide a brief description of the changes here.

  • Fixed the default log handler to print errors and warnings in std::cerr instead of std::cout.
  • Implemented a new LogLevel::None

For significant contributions please make sure you have completed the following items:

  • CHANGELOG.md updated for non-trivial changes
  • Unit tests have been added
  • Changes in public API reviewed (N/A)

@marcalff marcalff requested a review from a team March 28, 2024 23:33
Comment thread sdk/src/common/global_log_handler.cc Outdated
Comment thread sdk/include/opentelemetry/sdk/common/global_log_handler.h
@marcalff marcalff changed the title [SDK] DefaultLogHandler to print to std::cerr, add LogLevel::None [SDK] DefaultLogHandler to print errors to std::cerr, add LogLevel::None Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Disable internal otel logging

5 participants