Remove globalscope check for logging var