This is an automated email from the ASF dual-hosted git repository.
pierrejeambrun pushed a commit to branch v2-5-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/v2-5-test by this push:
new 6b0f069224 Fix description of output redirection for access_log for
gunicorn (#28672)
6b0f069224 is described below
commit 6b0f069224db764afd4e8db393f270de0b795804
Author: Jarek Potiuk <[email protected]>
AuthorDate: Tue Jan 3 10:05:09 2023 +0100
Fix description of output redirection for access_log for gunicorn (#28672)
As of gunicorn 19.7.0, default for access_log is stdout not stderr
and our documentation has not been updated to reflect that. We are
already past that (min version of gunicorn is 20.1.0, so the
documentation of access-log flag of ours was wrong. Having the
access_log in stdout rather than stderr also allows to redirect
the access log to a separate log sink in deployments like K8S.
(cherry picked from commit 675af73ceb5bc8b03d46a7cd903a73f9b8faba6f)
---
airflow/cli/cli_parser.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/airflow/cli/cli_parser.py b/airflow/cli/cli_parser.py
index a6ec776bd2..33e513b586 100644
--- a/airflow/cli/cli_parser.py
+++ b/airflow/cli/cli_parser.py
@@ -647,7 +647,7 @@ ARG_DEBUG = Arg(
ARG_ACCESS_LOGFILE = Arg(
("-A", "--access-logfile"),
default=conf.get("webserver", "ACCESS_LOGFILE"),
- help="The logfile to store the webserver access log. Use '-' to print to
stderr",
+ help="The logfile to store the webserver access log. Use '-' to print to
stdout",
)
ARG_ERROR_LOGFILE = Arg(
("-E", "--error-logfile"),