aws / amazon-mwaa-docker-images

Apache License 2.0
27 stars 11 forks source link

Pass web server log level to gunicorn #55

Closed rafidka closed 5 months ago

rafidka commented 5 months ago

Overview

Need to make sure we pass the configured log level for the web server to gunicorn as well. Something like this is required in our code for the web server:

os.environ["GUNICORN_CMD_ARGS"] = os.getenv(
    "GUNICORN_CMD_ARGS", default=f"--log-level {CONSOLE_LOG_LEVEL}"
)

Acceptance Criteria

gunicorn follows the configured log level for the web server.

Additional Info

N/A

rafidka commented 5 months ago

Implemented in #69.