ashb commented on code in PR #46677: URL: https://github.com/apache/airflow/pull/46677#discussion_r1956798913
########## airflow/utils/log/trigger_handler.py: ########## Review Comment: This is all now so much simpler with structlog in the mix. Logging from the async process works as follows: - stdlib logging is configured to send messages via struct log as json - As part of the stdlib->structlog processing change we include structlog bound contextvars - When a triggerer coro starts it binds `trigger_id` as a paramter - When the Supervisor receives a log message (which happens as LD JSON over a dedicated socket channel) it parses the JSON, and if it finds `trigger_id` key in there it redirects it to the trigger file log, else prints it. -- 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]
