EconML
EconML copied to clipboard
Importing overrides logging.basicConfig
Hello there I am setting up my main script and narrowed the issue down to this import below.
from econml.dml import NonParamDML
I looked in the documentation and couldn't find anything related to logging. This import overrides my logging basicConfig
logging.basicConfig(
level=logging.INFO,
format='%(asctime)s %(levelname)s: %(message)s',
datefmt='%Y-%m-%d %H:%M:%S',
handlers=[
logging.FileHandler(log_file, mode='a+'),
logging.StreamHandler(sys.stdout)
],
force=True
)
Any help or guidance is much appreciated!
We don't use the logging library internally, so I suspect this is due to some transitive dependency.