mirror of
https://github.com/cyanfish/naps2.git
synced 2024-08-17 03:00:21 +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"),
|
FileName = Path.Combine(Paths.AppData, "errorlog.txt"),
|
||||||
Layout = "${longdate} ${processid} ${message} ${exception:format=tostring}",
|
Layout = "${longdate} ${processid} ${message} ${exception:format=tostring}",
|
||||||
ArchiveAboveSize = 100000,
|
ArchiveAboveSize = 100000,
|
||||||
MaxArchiveFiles = 5,
|
MaxArchiveFiles = 1,
|
||||||
ConcurrentWrites = true
|
ConcurrentWrites = true
|
||||||
};
|
};
|
||||||
var debugTarget = new FileTarget
|
var debugTarget = new FileTarget
|
||||||
|
Loading…
Reference in New Issue
Block a user