diff --git a/assets/runtime/config/master.yml b/assets/runtime/config/master.yml index 532cff0..9bb1b29 100644 --- a/assets/runtime/config/master.yml +++ b/assets/runtime/config/master.yml @@ -117,8 +117,8 @@ syndic_log_file: {{SALT_LOGS_DIR}}/salt/syndic ##### Logging settings ##### ########################################## # The location of the master log file -log_file: {{SALT_LOGS_DIR}}/salt/master -key_logfile: {{SALT_LOGS_DIR}}/salt/key +log_file: {{SALT_LOGS_DIR}}/salt/master.log +key_logfile: {{SALT_LOGS_DIR}}/salt/key.log # The level of messages to send to the console. # One of 'garbage', 'trace', 'debug', info', 'warning', 'error', 'critical'. diff --git a/assets/runtime/functions.sh b/assets/runtime/functions.sh index 8f3d2ac..730d1de 100755 --- a/assets/runtime/functions.sh +++ b/assets/runtime/functions.sh @@ -434,7 +434,7 @@ function configure_salt_api() ##### salt-api settings ##### ########################################## # Basic configuration for salt-api -api_logfile: ${SALT_LOGS_DIR}/salt/api +api_logfile: ${SALT_LOGS_DIR}/salt/api.log rest_cherrypy: port: 8000 @@ -574,7 +574,7 @@ EOF # configure salt master, minion and key log rotation cat > /etc/logrotate.d/salt <> /etc/logrotate.d/salt <