jellyfin/Jellyfin.Server/Resources/Configuration/logging.json

39 lines
1.3 KiB
JSON
Raw Normal View History

2019-01-01 12:41:02 -05:00
{
"Serilog": {
"MinimumLevel": {
"Default": "Information",
"Override": {
"Microsoft": "Warning",
"System": "Warning"
}
},
2019-01-01 12:41:02 -05:00
"WriteTo": [
{
"Name": "Console",
2019-01-01 12:41:02 -05:00
"Args": {
2020-01-16 07:20:01 -05:00
"outputTemplate": "[{Timestamp:HH:mm:ss}] [{Level:u3}] [{ThreadId}] {SourceContext}: {Message:lj}{NewLine}{Exception}"
2019-01-01 12:41:02 -05:00
}
},
{
"Name": "Async",
2019-01-01 12:41:02 -05:00
"Args": {
"configure": [
{
"Name": "File",
"Args": {
"path": "%JELLYFIN_LOG_DIR%//log_.log",
"rollingInterval": "Day",
"retainedFileCountLimit": 3,
"rollOnFileSizeLimit": true,
"fileSizeLimitBytes": 100000000,
2020-01-27 11:24:29 -05:00
"outputTemplate": "[{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz}] [{Level:u3}] [{ThreadId}] {SourceContext}: {Message}{NewLine}{Exception}"
}
}
]
2019-01-01 12:41:02 -05:00
}
}
2020-01-13 13:44:17 -05:00
],
"Enrich": [ "FromLogContext", "WithThreadId" ]
2019-01-01 12:41:02 -05:00
}
}