jason810496 opened a new pull request, #68986:
URL: https://github.com/apache/airflow/pull/68986

   - related: https://github.com/apache/airflow/pull/68938
   
   ## Why
   
   `install()` only added the handler and left JUL's default ConsoleHandler on 
the root logger, so every task log record was also written to stderr, making 
each line appear twice and mislabeling INFO records as errors.
   
   Users had to strip the root handlers themselves (raised in review on 
https://github.com/apache/airflow/pull/68938#discussion_r3472453544).
   
   ## What
   
   - Rename `AirflowJulHandler.install()` to `setup()` and it now clears the 
root logger's existing handlers before installing a single AirflowJulHandler, 
so records flow only through Airflow.
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [x] Yes, with help of Claude Code (Opus 4.8) 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