shayoo9814 opened a new issue, #37078: URL: https://github.com/apache/airflow/issues/37078
### Description Today, Airflow users lack the ability to configure Airflow Webserver logs. (Users can only configure [access logs](https://docs.gunicorn.org/en/stable/settings.html#accesslog), which is only a subset of Airflow Webserver logs). For instance, Airflow users are not able to convert Airflow Webserver logs into structured logs. In order to configure Airflow Webserver logs, Airflow users need to be able to configure Airflow Gunicorn logs. Today, Airflow parses airflow.cfg to specify various custom configurations when initializing Gunicorn in airflow/cli/cli_config.py (e.g. the --access-logformat flag is set [here](https://github.com/apache/airflow/blob/main/airflow/cli/cli_config.py#L740-L744)) and I don’t see an option to set neither the --log-config flag nor the --logconfig_dict flag, at least one of which is necessary to configure gunicorn logging. To provide maximum flexibility to users in terms of configuring Airflow Webserver logs, I request that Airflow maintainers add both `gunicorn_logconfig` and `gunicorn_logconfig_dict` parameters to Airflow.cfg, which will be parsed and passed in during Airflow's Gunicorn initialization. ### Use case/motivation The motivation is to empower Airflow users to configure Airflow Webserver logs as they please. ### Related issues _No response_ ### Are you willing to submit a PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@airflow.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org