xoxys.jellyfin/templates/opt/jellyfin/config/logging.json.j2

31 lines
1.0 KiB
Plaintext
Raw Normal View History

2019-02-01 21:02:36 +00:00
{
"Serilog": {
"MinimumLevel": "Information",
"WriteTo": [
{
"Name": "Console",
"Args": {
2019-02-02 00:56:27 +00:00
"outputTemplate": "[{Timestamp:HH:mm:ss}] [{Level:u5}] {Message:lj}{NewLine}{Exception}"
2019-02-01 21:02:36 +00:00
}
},
{
"Name": "Async",
"Args": {
"configure": [
{
"Name": "File",
"Args": {
"path": "{{ jellyfin_log_dir }}/jellyfin.log",
"fileSizeLimitBytes": 10485700,
"rollOnFileSizeLimit": true,
"retainedFileCountLimit": 10,
2019-02-02 00:56:27 +00:00
"outputTemplate": "[{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz}] [{Level:u4}] {Message}{NewLine}{Exception}"
2019-02-01 21:02:36 +00:00
}
}
]
}
}
]
}
}