mirror of
https://github.com/itdoginfo/podkop.git
synced 2026-01-27 12:50:37 +03:00
Merge pull request #302 from itdoginfo/fix/log_level
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"
|
log "Configure the log section of a sing-box JSON configuration"
|
||||||
|
|
||||||
local log_level
|
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)
|
config=$(sing_box_cm_configure_log "$config" false "$log_level" false)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user