Skip to content

structlog overwrites logging #124

@FHardow

Description

@FHardow

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions