This is totally unrelated, but we should just set logdebug to a noop-function to get rid of this really annoying pattern.