diff --git a/NAPS2.Lib/NLogConfig.cs b/NAPS2.Lib/NLogConfig.cs index 3362e48e8..d80ee6d42 100644 --- a/NAPS2.Lib/NLogConfig.cs +++ b/NAPS2.Lib/NLogConfig.cs @@ -23,7 +23,7 @@ public static class NLogConfig FileName = Path.Combine(Paths.AppData, "errorlog.txt"), Layout = "${longdate} ${processid} ${message} ${exception:format=tostring}", ArchiveAboveSize = 100000, - MaxArchiveFiles = 5, + MaxArchiveFiles = 1, ConcurrentWrites = true }; var debugTarget = new FileTarget