You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "dstandish (via GitHub)" <gi...@apache.org> on 2023/05/12 20:51:35 UTC

[GitHub] [airflow] dstandish commented on pull request #31226: Allow changing log level of provider import warnings

dstandish commented on PR #31226:
URL: https://github.com/apache/airflow/pull/31226#issuecomment-1546282046

   > Since `logging` allows numeric levels, what do you think we make this configuration accept both a level name or an int? If the value is an int, we’ll use it directly, and if a str we check it is a level name.
   > 
   > https://docs.python.org/3/library/logging.html#logging-levels
   
   I actually do allow it and test for it here https://github.com/apache/airflow/pull/31226/files#diff-ba34b5d2dd787bed9b45a37c630ca4842652620b296f488c95937da4b3f1ad3dR382
   
   But maybe you refer to the definition in `config.yml`... i'm not sure how we would specify a union type... do you know?  Not sure we really need to either. LMK


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