Lower log rotation retention
This commit is contained in:
parent
4231709967
commit
c7daea5497
@ -70,6 +70,7 @@ namespace PluralKit.Core
|
|||||||
a.File(
|
a.File(
|
||||||
(config.LogDir ?? "logs") + $"/pluralkit.{_component}.log",
|
(config.LogDir ?? "logs") + $"/pluralkit.{_component}.log",
|
||||||
outputTemplate: outputTemplate,
|
outputTemplate: outputTemplate,
|
||||||
|
retainedFileCountLimit: 10,
|
||||||
rollingInterval: RollingInterval.Day,
|
rollingInterval: RollingInterval.Day,
|
||||||
fileSizeLimitBytes: null,
|
fileSizeLimitBytes: null,
|
||||||
flushToDiskInterval: TimeSpan.FromMilliseconds(50),
|
flushToDiskInterval: TimeSpan.FromMilliseconds(50),
|
||||||
|
Loading…
Reference in New Issue
Block a user