tweak logging to output window info