Remove lingering debug code
Fix erroneous log level guard