Closed dolohow closed 1 year ago
I believe you should not set handler and level of logging, otherwise I cannot reconfigure it.
For example, I would like to log into a file and I can't with this simple code
logging.basicConfig(filename='loty.log', format='%(asctime)s %(message)s', level=logging.INFO)
Probably I could do it differently, however library should not configure logger at all I think.
This is worth looking into, I agree.
Hope this merge solves your issue, will include in the next release. Let me know if you wish to re-open.
I believe you should not set handler and level of logging, otherwise I cannot reconfigure it.
For example, I would like to log into a file and I can't with this simple code
Probably I could do it differently, however library should not configure logger at all I think.