mirror of
https://github.com/PepperDash/PepperDashCore.git
synced 2026-04-12 12:06:29 +00:00
refactor: use RenderedCompactJsonFormatter for files now
This commit is contained in:
parent
b98d8d49ba
commit
f2f40c7197
1 changed files with 1 additions and 1 deletions
|
|
@ -134,7 +134,7 @@ namespace PepperDash.Core
|
|||
.WriteTo.Sink(new DebugConsoleSink(new JsonFormatter(renderMessage: true)), levelSwitch: _consoleLoggingLevelSwitch)
|
||||
.WriteTo.Sink(_websocketSink, levelSwitch: _websocketLoggingLevelSwitch)
|
||||
.WriteTo.Sink(new DebugErrorLogSink(), LogEventLevel.Information)
|
||||
.WriteTo.File(new CompactJsonFormatter(), logFilePath,
|
||||
.WriteTo.File(new RenderedCompactJsonFormatter(), logFilePath,
|
||||
rollingInterval: RollingInterval.Day,
|
||||
restrictedToMinimumLevel: LogEventLevel.Debug,
|
||||
retainedFileCountLimit: CrestronEnvironment.DevicePlatform == eDevicePlatform.Appliance ? 30 : 60
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue