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

41 lines
1.5 KiB
Plaintext
Raw Normal View History

2019-02-01 22:02:36 +01:00
{
"Serilog": {
2021-04-18 17:48:02 +02:00
"MinimumLevel": {
"Default": "Information",
"Override": {
"Microsoft": "Warning",
"System": "Warning"
}
},
2019-02-01 22:02:36 +01:00
"WriteTo": [
{
"Name": "Console",
"Args": {
2021-04-18 17:48:02 +02:00
"outputTemplate": "[{Timestamp:HH:mm:ss}] [{Level:u3}] [{ThreadId}] {SourceContext}: {Message:lj}{NewLine}{Exception}",
2019-02-02 03:27:11 +01:00
"restrictedToMinimumLevel": "{{ jellyfin_log_level_console }}"
2019-02-01 22:02:36 +01:00
}
},
{
"Name": "Async",
"Args": {
"configure": [
{
"Name": "File",
"Args": {
"path": "{{ jellyfin_log_dir }}/jellyfin.log",
2019-02-02 03:37:09 +01:00
"outputTemplate": "[{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz}] [{Level:u3}] {Message}{NewLine}{Exception}",
2021-04-18 17:48:02 +02:00
"restrictedToMinimumLevel": "{{ jellyfin_log_level_file }}",
"rollingInterval": "Day",
"retainedFileCountLimit": 3,
"rollOnFileSizeLimit": true,
"fileSizeLimitBytes": 100000000,
2019-02-01 22:02:36 +01:00
}
}
]
}
}
2021-04-18 17:48:02 +02:00
],
"Enrich": [ "FromLogContext", "WithThreadId" ]
2019-02-01 22:02:36 +01:00
}
}