From 4231709967092832dae549b2f3da56d5b9a6d6fb Mon Sep 17 00:00:00 2001 From: Ske Date: Thu, 18 Mar 2021 20:21:36 +0100 Subject: [PATCH] Remove file size limit on logs --- PluralKit.Core/Modules/LoggingModule.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/PluralKit.Core/Modules/LoggingModule.cs b/PluralKit.Core/Modules/LoggingModule.cs index fd52293f..54f8a3af 100644 --- a/PluralKit.Core/Modules/LoggingModule.cs +++ b/PluralKit.Core/Modules/LoggingModule.cs @@ -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(),