This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 675af73ceb Fix description of output redirection for access_log for 
gunicorn (#28672)
675af73ceb is described below

commit 675af73ceb5bc8b03d46a7cd903a73f9b8faba6f
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.
---
 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 b54da1c164..3307f76f6b 100644
--- a/airflow/cli/cli_parser.py
+++ b/airflow/cli/cli_parser.py
@@ -663,7 +663,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"),

Reply via email to