uranusjr commented on PR #28616: URL: https://github.com/apache/airflow/pull/28616#issuecomment-1366454296
I took a look at the surrounding code and it seems that access logs are currently explicitly enabled by whoever implemented it in the first place. Gunicorn does not emit access logs unless you specify `--access-logfile`, which Airflow does here: https://github.com/apache/airflow/blob/467a5e3ab287013db2a5381ef4a642e912f8b45b/airflow/cli/commands/webserver_command.py#L405-L406 and there’s no way to turn if off since `args.access_logfile` has a hard-coded default of `-` (send to stdout). If we want to make the stdout log less verbose, perhaps we should simply change the default of `access_logfile` to an empty string? Or maybe we should respect whoever implemented this and keep the current logging…? -- 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 For queries about this service, please contact Infrastructure at: us...@infra.apache.org