mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-17 10:58:58 -07:00
7af3754a11
Perform logging to file on a background thread. This means logging won't be bottlenecked by IO.
29 lines
907 B
JSON
29 lines
907 B
JSON
{
|
|
"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%//log_.log",
|
|
"rollingInterval": "Day",
|
|
"outputTemplate": "[{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz}] [{Level:u3}] {Message}{NewLine}{Exception}"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|