Lower log rotation retention

This commit is contained in:
Ske 2021-03-18 20:21:57 +01:00
parent 4231709967
commit c7daea5497

View File

@ -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),