logging for window widget