31 lines
1.0 KiB
Django/Jinja
31 lines
1.0 KiB
Django/Jinja
{
|
|
"Serilog": {
|
|
"MinimumLevel": "Information",
|
|
"WriteTo": [
|
|
{
|
|
"Name": "Console",
|
|
"Args": {
|
|
"outputTemplate": "[{Timestamp:HH:mm:ss}] [{Level:u3}] {Message:lj}{NewLine}{Exception}"
|
|
}
|
|
},
|
|
{
|
|
"Name": "Async",
|
|
"Args": {
|
|
"configure": [
|
|
{
|
|
"Name": "File",
|
|
"Args": {
|
|
"path": "{{ jellyfin_log_dir }}/jellyfin.log",
|
|
"fileSizeLimitBytes": 10485700,
|
|
"rollOnFileSizeLimit": true,
|
|
"retainedFileCountLimit": 10,
|
|
"outputTemplate": "[{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz}] [{Level:u3}] {Message}{NewLine}{Exception}"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|