Skip to content

Debug mode triggered after importing fdk #114

@jizezhang

Description

@jizezhang

Description

Logging level changed to debug after importing fdk. This is possibly due to this line in log.py.

Steps to reproduce the issue:

import logging
print(f'DEBUG level = {logging.DEBUG}', )
print(f'Current logging level = {logging.root.level}')

import fdk
print(f'Current logging level = {logging.root.level}')

Describe the results you received:
Logging level does not equal to DEBUG before importing fdk but is changed to DEBUG after import.

Describe the results you expected:
Logging level does not change after importing fdk.

Additional information you deem important (e.g. issue happens only occasionally):

Output of FDK version (PIP output):

fdk==0.1.19

Additional environment details (python version, code sample, etc.):

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions