Closed frozflame closed 1 year ago
I think it's not proper to config log level DEBUG inside many inner modules:
logging.basicConfig(format="%(levelname)s:%(message)s", level=logging.DEBUG)
It makes this package unusable in interactive mode, unless the user understand how to deal with the logging stuff.
logging
My suggestion is to put the logging.basicConfig only inside your entry point scripts / functions.
logging.basicConfig
Hi, thanks for the suggestion :) If you want, you can also open a pull request ;)
Solved in 3d789f54a7696e747b09750dbd47e8af88e69e55
I think it's not proper to config log level DEBUG inside many inner modules:
It makes this package unusable in interactive mode, unless the user understand how to deal with the
logging
stuff.My suggestion is to put the
logging.basicConfig
only inside your entry point scripts / functions.