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

33 lines
1.2 KiB
JSON
Raw Normal View History

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