From 5a3ea209fda2106d3066ceff65a22483e614279d Mon Sep 17 00:00:00 2001 From: Matus Drobuliak <60785969+matusdrobuliak66@users.noreply.github.com> Date: Wed, 15 Jan 2025 21:36:22 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix=20uvicorn=20logs=20that=20we?= =?UTF-8?q?re=20always=20on=20INFO=20(#7045)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- services/autoscaling/docker/boot.sh | 2 +- services/clusters-keeper/docker/boot.sh | 2 +- services/dynamic-scheduler/docker/boot.sh | 2 +- services/efs-guardian/docker/boot.sh | 2 +- services/invitations/docker/boot.sh | 2 +- services/payments/docker/boot.sh | 2 +- services/resource-usage-tracker/docker/boot.sh | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/services/autoscaling/docker/boot.sh b/services/autoscaling/docker/boot.sh index 8fe0488daed..c97dedd7afa 100755 --- a/services/autoscaling/docker/boot.sh +++ b/services/autoscaling/docker/boot.sh @@ -38,7 +38,7 @@ fi # RUNNING application # -APP_LOG_LEVEL=${API_SERVER_LOGLEVEL:-${LOG_LEVEL:-${LOGLEVEL:-INFO}}} +APP_LOG_LEVEL=${AUTOSCALING_LOGLEVEL:-${LOG_LEVEL:-${LOGLEVEL:-INFO}}} SERVER_LOG_LEVEL=$(echo "${APP_LOG_LEVEL}" | tr '[:upper:]' '[:lower:]') echo "$INFO" "Log-level app/server: $APP_LOG_LEVEL/$SERVER_LOG_LEVEL" diff --git a/services/clusters-keeper/docker/boot.sh b/services/clusters-keeper/docker/boot.sh index 5aa4b0e8e1c..7623ff78e43 100755 --- a/services/clusters-keeper/docker/boot.sh +++ b/services/clusters-keeper/docker/boot.sh @@ -39,7 +39,7 @@ fi # RUNNING application # -APP_LOG_LEVEL=${API_SERVER_LOGLEVEL:-${LOG_LEVEL:-${LOGLEVEL:-INFO}}} +APP_LOG_LEVEL=${CLUSTERS_KEEPER_LOGLEVEL:-${LOG_LEVEL:-${LOGLEVEL:-INFO}}} SERVER_LOG_LEVEL=$(echo "${APP_LOG_LEVEL}" | tr '[:upper:]' '[:lower:]') echo "$INFO" "Log-level app/server: $APP_LOG_LEVEL/$SERVER_LOG_LEVEL" diff --git a/services/dynamic-scheduler/docker/boot.sh b/services/dynamic-scheduler/docker/boot.sh index 0660b8c8cc0..a5a3ea811d5 100755 --- a/services/dynamic-scheduler/docker/boot.sh +++ b/services/dynamic-scheduler/docker/boot.sh @@ -39,7 +39,7 @@ fi # RUNNING application # -APP_LOG_LEVEL=${API_SERVER_LOGLEVEL:-${LOG_LEVEL:-${LOGLEVEL:-INFO}}} +APP_LOG_LEVEL=${DYNAMIC_SCHEDULER_LOGLEVEL:-${LOG_LEVEL:-${LOGLEVEL:-INFO}}} SERVER_LOG_LEVEL=$(echo "${APP_LOG_LEVEL}" | tr '[:upper:]' '[:lower:]') echo "$INFO" "Log-level app/server: $APP_LOG_LEVEL/$SERVER_LOG_LEVEL" diff --git a/services/efs-guardian/docker/boot.sh b/services/efs-guardian/docker/boot.sh index 0575c7679fb..ad8de46bfda 100755 --- a/services/efs-guardian/docker/boot.sh +++ b/services/efs-guardian/docker/boot.sh @@ -39,7 +39,7 @@ fi # RUNNING application # -APP_LOG_LEVEL=${API_SERVER_LOGLEVEL:-${LOG_LEVEL:-${LOGLEVEL:-INFO}}} +APP_LOG_LEVEL=${EFS_GUARDIAN_LOGLEVEL:-${LOG_LEVEL:-${LOGLEVEL:-INFO}}} SERVER_LOG_LEVEL=$(echo "${APP_LOG_LEVEL}" | tr '[:upper:]' '[:lower:]') echo "$INFO" "Log-level app/server: $APP_LOG_LEVEL/$SERVER_LOG_LEVEL" diff --git a/services/invitations/docker/boot.sh b/services/invitations/docker/boot.sh index 7e771439871..7cbf4401013 100755 --- a/services/invitations/docker/boot.sh +++ b/services/invitations/docker/boot.sh @@ -39,7 +39,7 @@ fi # RUNNING application # -APP_LOG_LEVEL=${API_SERVER_LOGLEVEL:-${LOG_LEVEL:-${LOGLEVEL:-INFO}}} +APP_LOG_LEVEL=${INVITATIONS_LOGLEVEL:-${LOG_LEVEL:-${LOGLEVEL:-INFO}}} SERVER_LOG_LEVEL=$(echo "${APP_LOG_LEVEL}" | tr '[:upper:]' '[:lower:]') echo "$INFO" "Log-level app/server: $APP_LOG_LEVEL/$SERVER_LOG_LEVEL" diff --git a/services/payments/docker/boot.sh b/services/payments/docker/boot.sh index be92e7ac4fc..eb77d928809 100755 --- a/services/payments/docker/boot.sh +++ b/services/payments/docker/boot.sh @@ -39,7 +39,7 @@ fi # RUNNING application # -APP_LOG_LEVEL=${API_SERVER_LOGLEVEL:-${LOG_LEVEL:-${LOGLEVEL:-INFO}}} +APP_LOG_LEVEL=${PAYMENTS_LOGLEVEL:-${LOG_LEVEL:-${LOGLEVEL:-INFO}}} SERVER_LOG_LEVEL=$(echo "${APP_LOG_LEVEL}" | tr '[:upper:]' '[:lower:]') echo "$INFO" "Log-level app/server: $APP_LOG_LEVEL/$SERVER_LOG_LEVEL" diff --git a/services/resource-usage-tracker/docker/boot.sh b/services/resource-usage-tracker/docker/boot.sh index d3aa7606d03..28854b7b2b5 100755 --- a/services/resource-usage-tracker/docker/boot.sh +++ b/services/resource-usage-tracker/docker/boot.sh @@ -39,7 +39,7 @@ fi # RUNNING application # -APP_LOG_LEVEL=${API_SERVER_LOGLEVEL:-${LOG_LEVEL:-${LOGLEVEL:-INFO}}} +APP_LOG_LEVEL=${RESOURCE_USAGE_TRACKER_LOGLEVEL:-${LOG_LEVEL:-${LOGLEVEL:-INFO}}} SERVER_LOG_LEVEL=$(echo "${APP_LOG_LEVEL}" | tr '[:upper:]' '[:lower:]') echo "$INFO" "Log-level app/server: $APP_LOG_LEVEL/$SERVER_LOG_LEVEL"