Would it be possible to add a log option and flush the output to log on every line? Redirecting output to a file in windows is buffered and it's very tricky to flush the output. It would be great to see the latest log entries without waiting for output buffer to fill up.