window logging