You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "subhash-0000 (via GitHub)" <gi...@apache.org> on 2026/01/30 10:03:07 UTC

[PR] docs(logging): clarify structlog migration and deprecate DEFAULT_LOGG… [airflow]

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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] docs(logging): clarify structlog migration and deprecate DEFAULT_LOGG… [airflow]

Posted by "subhash-0000 (via GitHub)" <gi...@apache.org>.
subhash-0000 closed pull request #61249: docs(logging): clarify structlog migration and deprecate DEFAULT_LOGG…
URL: https://github.com/apache/airflow/pull/61249


-- 
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-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] docs(logging): clarify structlog migration and deprecate DEFAULT_LOGG… [airflow]

Posted by "subhash-0000 (via GitHub)" <gi...@apache.org>.
subhash-0000 commented on PR #61249:
URL: https://github.com/apache/airflow/pull/61249#issuecomment-3823303264

   Closing and reopening with a docs-only PR. This one accidentally included unrelated changes.


-- 
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-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] docs(logging): clarify structlog migration and deprecate DEFAULT_LOGG… [airflow]

Posted by "subhash-0000 (via GitHub)" <gi...@apache.org>.
subhash-0000 closed pull request #61249: docs(logging): clarify structlog migration and deprecate DEFAULT_LOGG…
URL: https://github.com/apache/airflow/pull/61249


-- 
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-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org