mirror of
https://github.com/cyanfish/naps2.git
synced 2024-07-14 18:40:39 +03:00
Limit errorlog.txt archive files to 1
This commit is contained in:
parent
15b1c599fd
commit
0d52098606
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user