Remove file size limit on logs

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

View File

@ -71,6 +71,7 @@ namespace PluralKit.Core
(config.LogDir ?? "logs") + $"/pluralkit.{_component}.log",
outputTemplate: outputTemplate,
rollingInterval: RollingInterval.Day,
fileSizeLimitBytes: null,
flushToDiskInterval: TimeSpan.FromMilliseconds(50),
restrictedToMinimumLevel: config.FileLogLevel,
formatProvider: new UTCTimestampFormatProvider(),