Clean up use of logging module to better follow best-practice
Merge pull request #24 from Rosuav/fix_logging

Clean up use of logging module to better follow best-practice