Shouldn't this check for debug level 2?