amoghrajesh commented on PR #58551:
URL: https://github.com/apache/airflow/pull/58551#issuecomment-3562706535

   > It would be beneficial to add a test for sanity that subclasses 
BaseNotifier, calls self.log.info, and asserts that it returns a structlog 
BoundLoggerLazyProxy, or at least that .log exists and behaves as expected.
   
   @sunank200 Um, this is not new behaviour and lot of `caplog` tests in here: 
`task-sdk/tests/task_sdk/bases/test_notifier.py` assert logs, it would not be 
possible if logging didnt work using `.log`


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