generated from honeycombio/.github
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## Which problem is this PR solving? Setups logging when using the distro. Log level can be set either using `OTEL_LOG_LEVEL` environment variable or the `log_level` option. - Closes #36 ## Short description of the changes - Setups and registers a logger during HoneycombOptions init - Use logger to indicate Honeycomb distro is being used during `configure_opentelemetry` - Removes left over debug log in a test ## How to verify that this has the expected result Log entires are printed out at the configured log level. Note: This is based on the follow PR, and will auto update once it's merged - #27 Co-authored-by: Robb Kidd <robbkidd@honeycomb.io>
- Loading branch information
1 parent
460da85
commit 9cfd202
Showing
3 changed files
with
28 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters