From 1b8204428e3e4149c6a01ee1a95734a004c9db18 Mon Sep 17 00:00:00 2001 From: Kraiem Taha Yassine Date: Fri, 27 Oct 2023 15:08:25 +0200 Subject: [PATCH] Api v1.15.0 (#1583) * fix(chalice): changed server level logging --- api/entrypoint.sh | 2 +- api/entrypoint_alerts.sh | 2 +- ee/api/entrypoint.sh | 2 +- ee/api/entrypoint_alerts.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/api/entrypoint.sh b/api/entrypoint.sh index df27601ed..421eb46a1 100755 --- a/api/entrypoint.sh +++ b/api/entrypoint.sh @@ -1,3 +1,3 @@ #!/bin/sh -uvicorn app:app --host 0.0.0.0 --port $LISTEN_PORT --proxy-headers --log-level ${LOGLEVEL:-warning} +uvicorn app:app --host 0.0.0.0 --port $LISTEN_PORT --proxy-headers --log-level ${S_LOGLEVEL:-warning} diff --git a/api/entrypoint_alerts.sh b/api/entrypoint_alerts.sh index 6e1f10178..f346e2303 100755 --- a/api/entrypoint_alerts.sh +++ b/api/entrypoint_alerts.sh @@ -1,3 +1,3 @@ #!/bin/sh export ASSIST_KEY=ignore -uvicorn app:app --host 0.0.0.0 --port 8888 --log-level ${LOGLEVEL:-warning} +uvicorn app:app --host 0.0.0.0 --port 8888 --log-level ${S_LOGLEVEL:-warning} diff --git a/ee/api/entrypoint.sh b/ee/api/entrypoint.sh index faedf5ecf..f1926341b 100755 --- a/ee/api/entrypoint.sh +++ b/ee/api/entrypoint.sh @@ -5,4 +5,4 @@ source /tmp/.env.override #uvicorn app:app --host 0.0.0.0 --port $LISTEN_PORT --proxy-headers NB_WORKERS="${NB_WORKERS:=4}" gunicorn app:app --workers $NB_WORKERS --worker-class uvicorn.workers.UvicornWorker \ - --bind 0.0.0.0:$LISTEN_PORT --log-level ${LOGLEVEL:-warning} \ No newline at end of file + --bind 0.0.0.0:$LISTEN_PORT --log-level ${S_LOGLEVEL:-warning} \ No newline at end of file diff --git a/ee/api/entrypoint_alerts.sh b/ee/api/entrypoint_alerts.sh index d3c80e252..f73087984 100755 --- a/ee/api/entrypoint_alerts.sh +++ b/ee/api/entrypoint_alerts.sh @@ -2,4 +2,4 @@ export ASSIST_KEY=ignore sh env_vars.sh source /tmp/.env.override -uvicorn app:app --host 0.0.0.0 --port 8888 --log-level ${LOGLEVEL:-warning} +uvicorn app:app --host 0.0.0.0 --port 8888 --log-level ${S_LOGLEVEL:-warning}