Use correct type for log_lvl and add prefix to rdebug_pair