Improve logging setup
The logging output was not really clear. This patch improves the situation.
As drive-by cleanup, removes unused loggers and updates the warn calls since warn is obsolete (see https://docs.python.org/3.5/library/logging.html#logging.warning).