mirror of
https://github.com/RPCS3/discord-bot.git
synced 2026-01-31 01:25:22 +01:00
downgrade nlog to fix filenames for rotated logs
This commit is contained in:
@@ -247,7 +247,9 @@ internal static class Config
|
||||
var fileTarget = new FileTarget("logfile") {
|
||||
FileName = CurrentLogPath,
|
||||
ArchiveEvery = FileArchivePeriod.Day,
|
||||
ArchiveSuffixFormat = ".{1:yyyyMMdd}.{0:00}",
|
||||
//ArchiveSuffixFormat = ".{1:yyyyMMdd}.{0:00}",
|
||||
ArchiveNumbering = ArchiveNumberingMode.DateAndSequence,
|
||||
ConcurrentWrites = false,
|
||||
KeepFileOpen = true,
|
||||
AutoFlush = false,
|
||||
OpenFileFlushTimeout = 1,
|
||||
|
||||
Reference in New Issue
Block a user