subhash-0000 opened a new pull request, #61249:
URL: https://github.com/apache/airflow/pull/61249

   This PR addresses #61175 by updating the advanced-logging-configuration.rst 
to align with the Airflow 3.0 migration to structlog (AIP-72).
   
   As identified in the issue, the current documentation incorrectly directs 
users toward DEFAULT_LOGGING_CONFIG and dictConfig patterns. In the new Task 
SDK and Execution API architecture, these legacy configurations are no longer 
the primary path for customization.
   
   Key Changes:
   
   Legacy Cleanup: Marked DEFAULT_LOGGING_CONFIG and logging_config_class as 
deprecated/unsupported for Airflow 3.x+ and removed misleading code blocks.
   
   Modern Examples: Added a valid structlog processor chain example for users 
needing deep customization.
   
   UX Improvement: Documented the AIRFLOW__LOGGING__JSON_FORMAT environment 
variable as the "future-proof" and recommended way to enable JSON console 
logging in the Task SDK.
   
   Related Issue
   closes: #61175
   
   Was generative AI tooling used to co-author this PR?
   [X] Yes (Gemini 3 Flash)
   
   Generated-by: Gemini 3 Flash following [the 
guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)


-- 
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]

Reply via email to