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
|
||||
- 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
|
||||
# DONT CHANGE IT!
|
||||
# Changing the bind ports is currently not supported
|
||||
|
@ -5,7 +5,8 @@
|
||||
{
|
||||
"Name": "Console",
|
||||
"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",
|
||||
"Args": {
|
||||
"path": "{{ jellyfin_log_dir }}/jellyfin.log",
|
||||
"fileSizeLimitBytes": 10485700,
|
||||
"rollOnFileSizeLimit": true,
|
||||
"retainedFileCountLimit": 10,
|
||||
"outputTemplate": "[{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz}] [{Level:u4}] {Message}{NewLine}{Exception}"
|
||||
"outputTemplate": "[{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz}] [{Level:u4}] {Message}{NewLine}{Exception}",
|
||||
"restrictedToMinimumLevel": "{{ jellyfin_log_level_file }}"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user