disabled piping to logfile in windows; doesn't work for some unknown reason