--logfile now works on windows too