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

39 lines
1.3 KiB
JSON
Raw Normal View History

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