Remove unnecessary type check.
Don't reset allowExtraLogging across executions.