tirkarthi commented on issue #40168: URL: https://github.com/apache/airflow/issues/40168#issuecomment-2160097715
Related gunicorn issue https://github.com/benoitc/gunicorn/issues/1124 . gunicorn related logs only logs messages from gunicorn itself. The log message you are seeing comes from one of the files in fab provider and probably the relevant handler "gunicorn.error" needs to be added to the logger like below but I guess there should be a way to do it via config. ```diff diff --git a/airflow/providers/fab/auth_manager/security_manager/override.py b/airflow/providers/fab/auth_manager/security_manager/override.py index e617b8e846..28084adbfc 100644 --- a/airflow/providers/fab/auth_manager/security_manager/override.py +++ b/airflow/providers/fab/auth_manager/security_manager/override.py @@ -113,6 +113,7 @@ if TYPE_CHECKING: from airflow.auth.managers.base_auth_manager import ResourceMethod log = logging.getLogger(__name__) +log.handlers.extend(logging.getLogger("gunicorn.error").handlers) ``` -- 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]
