feat: Add .log extension to master and api log files

This commit is contained in:
Carlos Álvaro
2023-05-23 18:56:54 +02:00
committed by Carlos D. Álvaro
parent 83214cc23b
commit 2e0fe50216
3 changed files with 7 additions and 15 deletions

View File

@@ -127,7 +127,7 @@ function container_log()
function master_log()
{
local LOGS_DIR="${SCRIPT_PATH}/logs"
local SALT_MASTER_LOG="${LOGS_DIR}/salt/master"
local SALT_MASTER_LOG="${LOGS_DIR}/salt/master.log"
[[ -f "${SALT_MASTER_LOG}" ]] || return 0
echo "📝 salt-master log (${SALT_MASTER_LOG})"