From 91c2eb3992268d0a4cdb0cea4a7ece7d20e7eeb8 Mon Sep 17 00:00:00 2001 From: Ske Date: Fri, 1 May 2020 20:13:15 +0200 Subject: [PATCH] Fix plain-text logging output file --- PluralKit.Core/Modules.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PluralKit.Core/Modules.cs b/PluralKit.Core/Modules.cs index 8589eb0f..136ab15e 100644 --- a/PluralKit.Core/Modules.cs +++ b/PluralKit.Core/Modules.cs @@ -107,7 +107,7 @@ namespace PluralKit.Core // Output simultaneously. May remove the JSON formatter later, keeping it just in cast. // Flush interval is 250ms (down from 10s) to make "tail -f" easier. May be too low? a.File( - (config.LogDir ?? "logs") + $"/pluralkit.{_component}.json", + (config.LogDir ?? "logs") + $"/pluralkit.{_component}.log", outputTemplate: outputTemplate, rollingInterval: RollingInterval.Day, flushToDiskInterval: TimeSpan.FromMilliseconds(250),