add options to adjust log verbosity
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
821b2fb9d5
commit
9aeab21114
@ -40,6 +40,11 @@ jellyfin_logrotate_config:
|
|||||||
- compress
|
- compress
|
||||||
- shred
|
- shred
|
||||||
|
|
||||||
|
# Possible: Verbose | Debug | Information | Warning | Error | Fatal
|
||||||
|
# Beware that the values are case sensitive!
|
||||||
|
jellyfin_log_level_console: Fatal
|
||||||
|
jellyfin_log_level_file: Information
|
||||||
|
|
||||||
jellyfin_base_url: https://mystream.example.com
|
jellyfin_base_url: https://mystream.example.com
|
||||||
# DONT CHANGE IT!
|
# DONT CHANGE IT!
|
||||||
# Changing the bind ports is currently not supported
|
# Changing the bind ports is currently not supported
|
||||||
|
@ -5,7 +5,8 @@
|
|||||||
{
|
{
|
||||||
"Name": "Console",
|
"Name": "Console",
|
||||||
"Args": {
|
"Args": {
|
||||||
"outputTemplate": "[{Timestamp:HH:mm:ss}] [{Level:u5}] {Message:lj}{NewLine}{Exception}"
|
"outputTemplate": "[{Timestamp:HH:mm:ss}] [{Level:u5}] {Message:lj}{NewLine}{Exception}",
|
||||||
|
"restrictedToMinimumLevel": "{{ jellyfin_log_level_console }}"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -16,10 +17,8 @@
|
|||||||
"Name": "File",
|
"Name": "File",
|
||||||
"Args": {
|
"Args": {
|
||||||
"path": "{{ jellyfin_log_dir }}/jellyfin.log",
|
"path": "{{ jellyfin_log_dir }}/jellyfin.log",
|
||||||
"fileSizeLimitBytes": 10485700,
|
"outputTemplate": "[{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz}] [{Level:u4}] {Message}{NewLine}{Exception}",
|
||||||
"rollOnFileSizeLimit": true,
|
"restrictedToMinimumLevel": "{{ jellyfin_log_level_file }}"
|
||||||
"retainedFileCountLimit": 10,
|
|
||||||
"outputTemplate": "[{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz}] [{Level:u4}] {Message}{NewLine}{Exception}"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user