GuidoTournois edited a comment on issue #15672:
URL: https://github.com/apache/airflow/issues/15672#issuecomment-952799761
As far as I could see, there are two ways you could reach your goal.
1) Configure access log by gunicorn. This can be done by updating
access_logfile in the airflow configuration file, `airflow.cfg`. This however,
does probably not give you the freedom you are looking for.
2) A better option would be to add a new logger for the web server in
`DEFAULT_LOGGING_CONFIG` (e.g. `airflow.webserver`) and retrieve this logger in
the `action_logging` decorator. That way, Airflow users can use the proposed
way for setting up custom logging configurations as described here:
https://airflow.apache.org/docs/apache-airflow/stable/logging-monitoring/logging-tasks.html
I am happy to work on option 2, let's see if that is something you could use.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]