C#: Disable the write-through of the logger, as this is a theoretical slowdown, and results in less readable log files when multiple extractors are running concurrently.

This commit is contained in:
Calum Grant
2019-07-08 15:58:49 +01:00
parent a6b7f2d1f6
commit ce12312ff2

View File

@@ -72,7 +72,6 @@ namespace Semmle.Util.Logging
Directory.CreateDirectory(dir);
writer = new PidStreamWriter(new FileStream(outputFile, FileMode.Append, FileAccess.Write,
FileShare.ReadWrite, 8192));
writer.AutoFlush = true;
}
catch (Exception ex) // lgtm[cs/catch-of-all-exceptions]
{