disable logging in window