You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 7212c88
Browse filesBrowse the repository at this point in the historyBrowse files
* [v3-0-test] Remove gunicorn daemonize for api-server (apache#52860)
* Remove gunicorn daemonize for api-server
* Rename _CommonCLIUvicornTestClass
* Add test for api-server with daemon option
* Fix setproctitle on MacOS
* Replace api/access_logfile with api/log_config
* Fix [api/log_config] cli_config
* Remove logging and unsed option in api_server_command
- the logging before daemonization is not logging the correct PID so
remove it
- should_setup_logging is default as False
* Fix test_run_command_daemon
* Add significant rst
(cherry picked from commit ab1ee72)
* Fix spelling wordlist
* Fix configuration
Replace API server ``access_logfile`` configuration with ``log_config``
2
+
3
+
The API server configuration option ``[api] access_logfile`` has been replaced with ``[api] log_config`` to align with uvicorn's logging configuration instead of the legacy gunicorn approach.
4
+
The new ``log_config`` option accepts a path to a logging configuration file compatible with ``logging.config.fileConfig``, providing more flexible logging configuration for the API server.
5
+
6
+
This change also removes the dependency on gunicorn for daemonization, making the API server ``--daemon`` option consistent with other Airflow components like scheduler and triggerer.
# more info here: https://github.com/benoitc/gunicorn/issues/1877#issuecomment-1911136399
# setproctitle causes issue on Mac OS: https://github.com/benoitc/gunicorn/issues/3021
61
+
os_type=sys.platform
62
+
ifos_type=="darwin":
63
+
log.debug("Mac OS detected, skipping setproctitle")
0 commit comments