From 944f9e6d2d1d5f8feeb8f25296291621c8dbf16e Mon Sep 17 00:00:00 2001 From: Muhamad Awad Date: Wed, 11 Jun 2025 18:31:43 +0200 Subject: [PATCH] Unification of the RESTATE_LOGGING env var Summary: The node-test-services honors the RESTATE_LOGGING env var, which is set by the e2e-verification-test. This change make sure the same env var is honored here by setting the proper logging var --- test-services/entrypoint.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/test-services/entrypoint.sh b/test-services/entrypoint.sh index 7258f3b..94b8e2c 100755 --- a/test-services/entrypoint.sh +++ b/test-services/entrypoint.sh @@ -8,4 +8,12 @@ if [ -n "$MAX_CONCURRENT_STREAMS" ]; then mv hypercorn-config.toml.new hypercorn-config.toml fi +if [ -n "$RESTATE_LOGGING" ]; then + # unification of the RESTATE_LOGGING environment variable + # which is also used by the node-test-services. + # + # Set by the e2e-verification-runner + export RESTATE_CORE_LOG=$RESTATE_LOGGING +fi + python3 -m hypercorn testservices:app --config hypercorn-config.toml --bind "0.0.0.0:${PORT}"