Revert "correctly enable debug logging"

This reverts commit 2375374e05ab60e5b18493fe9b7f3c1559af3473.