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", (config.LogDir ?? "logs") + $"/pluralkit.{_component}.log",
outputTemplate: outputTemplate, outputTemplate: outputTemplate,
rollingInterval: RollingInterval.Day, rollingInterval: RollingInterval.Day,
fileSizeLimitBytes: null,
flushToDiskInterval: TimeSpan.FromMilliseconds(50), flushToDiskInterval: TimeSpan.FromMilliseconds(50),
restrictedToMinimumLevel: config.FileLogLevel, restrictedToMinimumLevel: config.FileLogLevel,
formatProvider: new UTCTimestampFormatProvider(), formatProvider: new UTCTimestampFormatProvider(),