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

structlog overwrites logging #124

Open
1 task
FHardow opened this issue Oct 24, 2023 · 0 comments
Open
1 task

structlog overwrites logging #124

FHardow opened this issue Oct 24, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@FHardow
Copy link
Member

FHardow commented Oct 24, 2023

Describe the bug
When developing a custom script that uses the SDK, one can't use the default logger through from logging import getLogger.
Structlog most likely overwrites the default logger.

To Reproduce
Steps to reproduce the behavior:

  1. install the SDK
  2. create a simple script that imports something from the SDK and getLogger from logging
  3. fetch a logger through getLogger - logger = getLogger()
  4. log something
  5. run the script.

Expected behavior
All logs are shown and the users shouldn't be omitted.

Screenshots
Missing log:
image

Script definition:
image

Checklist

  • I added a label for the level of urgency of this bug (see definitions here)
@FHardow FHardow added the bug Something isn't working label Oct 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant