Arquivo de log sendo usado por outro processo

Em alguns casos, ocorre um erro de concorrência ao tentar escrever uma mensagem no log de arquivos do site.

Quando ocorre, o seguinte erro pode ser observado no Visualizador de Eventos:

An error occurred while writing to logger(s).

System.AggregateException: An error occurred while writing to logger(s).

System.IO.IOException: O processo não pode acessar o arquivo 'C:\Dados\DEV\LATROMI SVN\latromi-wecdb-branch-A\src\LATROMI.Web.UI\App_Data\Log\Core\Users\admin\13261.log' porque ele está sendo usado por outro processo.
   em System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   em System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   em System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   em System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)
   em System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
   em System.IO.StreamWriter..ctor(String path, Boolean append)
   em System.IO.File.AppendText(String path)
   em LATROMI.Extensions.Logging.File.FileLogger.WriteLogEntry(LogLevel logLevel, String message, String details)
   em LATROMI.Extensions.Logging.File.FileLogger.Log[TState](LogLevel logLevel, EventId eventId, TState state, Exception exception, Func`3 formatter)
   em Microsoft.Extensions.Logging.Logger.<Log>g__LoggerLog|12_0[TState](LogLevel logLevel, EventId eventId, ILogger logger, Exception exception, Func`3 formatter, List`1& exceptions, TState& state)
O problema ocorre principalmente quando o log de "debug" está habilitado no arquivo config.xml.