mirror of
https://github.com/itdoginfo/podkop.git
synced 2026-01-27 04:40:37 +03:00
fix: set default log_level to "warn" when missing in settings
This commit is contained in:
@@ -591,7 +591,7 @@ sing_box_configure_log() {
|
||||
log "Configure the log section of a sing-box JSON configuration"
|
||||
|
||||
local log_level
|
||||
config_get log_level "settings" "log_level"
|
||||
config_get log_level "settings" "log_level" "warn"
|
||||
config=$(sing_box_cm_configure_log "$config" false "$log_level" false)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user