Disable log of window event.