(TK-118) Fix lack of console logging with --debug

Fix an issue wherein nothing was logged to the console when the
--debug flag was set.
Merge pull request #175 from fpringvaldsen/TK-118-debug-flag-fail

(TK-118) Fix lack of console logging with --debug