ShubhamGondane opened a new pull request, #62839: URL: https://github.com/apache/airflow/pull/62839
## Changes **feat: Add `json_format` config option** Adds a new `[logging] json_format` boolean option (default `False`) that enables structured JSON console output. When `True`, each log line is emitted as a JSON object — useful for log aggregation systems such as Loki, Elasticsearch, or Splunk. Also adds a "JSON console output" subsection to the advanced logging configuration docs explaining the option with an example. **docs: Fix outdated examples after structlog migration in Airflow 3.x** Removes broken `DEFAULT_LOGGING_CONFIG` deepcopy and `pydantic.utils.deep_update` examples, adds a note explaining `logging_config_class` behaviour in Airflow 3.x. closes: #61175 --- ##### Was generative AI tooling used to co-author this PR? - [X] Yes — Claude Code -- 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]
