Do not log reg code