 <p>The configuration looks fine.</p> <p>However, the line:</p> <pre><code>string content = File.ReadAllText(logFileFullPath); </code></pre> <p>is throwing an exception so you are only writing one log entry per test. When the log file is opened it is locked so you won't be able to read it using File.ReadAllText.</p> <p>You can read through the lock using something like:</p> <pre><code>string fileContents = null; using (var fs = new FileStream(fileName, FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) using (var sr = new StreamReader(fs)) { fileContents = sr.ReadToEnd(); } </code></pre>