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

30 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 02:37:09 +00:00
"outputTemplate": "[{Timestamp:HH:mm:ss}] [{Level:u3}] {Message:lj}{NewLine}{Exception}",
2019-02-02 02:27:11 +00:00
"restrictedToMinimumLevel": "{{ jellyfin_log_level_console }}"
2019-02-01 21:02:36 +00:00
}
},
{
"Name": "Async",
"Args": {
"configure": [
{
"Name": "File",
"Args": {
"path": "{{ jellyfin_log_dir }}/jellyfin.log",
2019-02-02 02:37:09 +00:00
"outputTemplate": "[{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz}] [{Level:u3}] {Message}{NewLine}{Exception}",
2019-02-02 02:27:11 +00:00
"restrictedToMinimumLevel": "{{ jellyfin_log_level_file }}"
2019-02-01 21:02:36 +00:00
}
}
]
}
}
]
}
}