allow log file to be read by other processes on windows
allow to disable log file output buffering