Fix for log levels in DBUG_OFF mode