feat: Use SALT_LOG_LEVEL if SALT_LEVEL_LOGFILE is undefined

This commit is contained in:
Carlos Álvaro
2022-11-02 21:10:29 +01:00
parent a4a099a254
commit f8349453e9
6 changed files with 128 additions and 118 deletions

View File

@@ -21,7 +21,7 @@ SALT_WORKER_THREADS=${SALT_WORKER_THREADS:-5}
##### Logging settings #####
# https://docs.saltstack.com/en/latest/ref/configuration/master.html#master-logging-settings
SALT_LOG_LEVEL=${SALT_LOG_LEVEL:-warning}
SALT_LEVEL_LOGFILE=${SALT_LEVEL_LOGFILE:-warning}
SALT_LEVEL_LOGFILE=${SALT_LEVEL_LOGFILE:-${SALT_LOG_LEVEL}}
##### Security settings #####
# https://docs.saltstack.com/en/latest/ref/configuration/master.html#master-security-settings