diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/slskd/Program.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slskd/Program.cs b/src/slskd/Program.cs index 778502a2..def4c2aa 100644 --- a/src/slskd/Program.cs +++ b/src/slskd/Program.cs @@ -1245,7 +1245,7 @@ namespace slskd e => OptionsAtStartup.Logger.Disk, config => config.File( Path.Combine(LogDirectory, $"{AppName}-.log"), - outputTemplate: (OptionsAtStartup.Debug ? "[{SourceContext}] " : string.Empty) + "[{Timestamp:HH:mm:ss} {Level:u3}] {Message:lj}{NewLine}{Exception}", + outputTemplate: (OptionsAtStartup.Debug ? "[{SourceContext}] " : string.Empty) + "[{Timestamp:yyyy-MM-ddTHH:mm:ss.fff} {Level:u3}] {Message:lj}{NewLine}{Exception}", rollingInterval: RollingInterval.Day, retainedFileTimeLimit: TimeSpan.FromDays(OptionsAtStartup.Retention.Logs), shared: true))) // allow log file to be read concurrently |
