Output debug messages to logging module
Merge pull request #902 from bcipolli/output-to-logging

Output debug messages to logging module