I\'m using a config file to configure my logger in a Python application. This is the file:
[loggers] keys=root [logger_root] level=INFO handlers=console [h
I ran into the same problem when using dictConfig The solution for me was to fully qualify the module path like this:
dictConfig
[handler_file_rotating] class=logging.handlers.TimeRotatingFileHandler level=DEBUG formatter=file args=('../logs/twicker.log', 'd', 1, 5)
You might want to give that a try