Every time I need to do logging configuration that's more complex than logging.basicConfig, I spend ages looking up documentation and examples. So here's a reference example!
See loggingtest/__init__.py
Tested on Python 3.6
Only requirement is pyyaml, you can remove all references to it if you don't want to use the yaml file method.