https://www.mybluelinux.com/python-logging-config-via-dictionary-and-config-file/