mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-13 09:10:14 +00:00
Lower log rotation retention
This commit is contained in:
parent
4231709967
commit
c7daea5497
1 changed files with 1 additions and 0 deletions
|
|
@ -70,6 +70,7 @@ namespace PluralKit.Core
|
||||||
a.File(
|
a.File(
|
||||||
(config.LogDir ?? "logs") + $"/pluralkit.{_component}.log",
|
(config.LogDir ?? "logs") + $"/pluralkit.{_component}.log",
|
||||||
outputTemplate: outputTemplate,
|
outputTemplate: outputTemplate,
|
||||||
|
retainedFileCountLimit: 10,
|
||||||
rollingInterval: RollingInterval.Day,
|
rollingInterval: RollingInterval.Day,
|
||||||
fileSizeLimitBytes: null,
|
fileSizeLimitBytes: null,
|
||||||
flushToDiskInterval: TimeSpan.FromMilliseconds(50),
|
flushToDiskInterval: TimeSpan.FromMilliseconds(50),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue