add log for windows