Open jizezhang opened 3 years ago
This issue still exists on the latest version.
fdk==0.1.45
Workaround:
import logging
root = logging.getLogger()
root_level = logging.root.level
import fdk
# Set root logger level back to original level
# Before importing fdk library
root.setLevel(root_level)
Please fix this issue so I don't have to write code to handle this!
Description
Logging level changed to debug after importing
fdk
. This is possibly due to this line inlog.py
.Steps to reproduce the issue:
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):Additional environment details (python version, code sample, etc.):