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