Revert "Merge pull request #118 from xenolog/q_logging"

This reverts commit b06841beca1b684526ba8d0c99e7e5420ae9baf6, reversing
changes made to 6046335656236fba9ddbeaa2d14c582678ef02d4.