Fix plain-text logging output file
This commit is contained in:
parent
91b60367f0
commit
91c2eb3992
@ -107,7 +107,7 @@ namespace PluralKit.Core
|
|||||||
// Output simultaneously. May remove the JSON formatter later, keeping it just in cast.
|
// 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?
|
// Flush interval is 250ms (down from 10s) to make "tail -f" easier. May be too low?
|
||||||
a.File(
|
a.File(
|
||||||
(config.LogDir ?? "logs") + $"/pluralkit.{_component}.json",
|
(config.LogDir ?? "logs") + $"/pluralkit.{_component}.log",
|
||||||
outputTemplate: outputTemplate,
|
outputTemplate: outputTemplate,
|
||||||
rollingInterval: RollingInterval.Day,
|
rollingInterval: RollingInterval.Day,
|
||||||
flushToDiskInterval: TimeSpan.FromMilliseconds(250),
|
flushToDiskInterval: TimeSpan.FromMilliseconds(250),
|
||||||
|
Loading…
Reference in New Issue
Block a user