You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/09/01 20:00:12 UTC

[GitHub] [airflow] uranusjr commented on pull request #9208: Make it possible to silence warnings from Airflow

uranusjr commented on PR #9208:
URL: https://github.com/apache/airflow/pull/9208#issuecomment-1234719679

   Warnings by default are printed to stderr and do not respect log configurations. You may find [`logging.captureWarnings`](https://docs.python.org/3/library/logging.html#logging.captureWarnings) useful for what you want. You can combine it with custom logging handlers and filters to selectively log relevant warnings.


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