Python logging module doesn't write in log file - Stack Overflow
https://stackoverflow.com/questions/56737179/python-logging-module-doesnt-write-in-log-file
WebJun 24, 2019 · The log files were not written because you have to set the logger's level, before to set the level of the handler. Also, you have to know that logging.getLogger(name) returns a singleton. If you call the getLogger mfunction with the same name you used before, this will return the existing logger, which could leads you to a very weird situation ...
DA: 66 PA: 33 MOZ Rank: 38