eladkal opened a new issue #22356:
URL: https://github.com/apache/airflow/issues/22356


   ### Body
   
   It's becoming hard to differentiate between all warnings raised in logs.
   Airflow uses many packages that also raise warnings.
   
   I suggest to create `AirflowDeprecationWarning`.
   We can even have similar mechanism to sqlalchemy that has 
`SADeprecationWarning`  and specifying the version this warning started from 
that way it will also be easier to keep track.
   
https://github.com/sqlalchemy/sqlalchemy/blob/769fa67d842035dd852ab8b6a26ea3f110a51131/lib/sqlalchemy/exc.py#L779
   
   
   We can also have `AirflowProviderDeprecationWarning` to differentiate from 
Airflow core
   
   Originally posted in 
https://github.com/apache/airflow/pull/22333#discussion_r829106399
   
   What do others think?
   
   ### Committer
   
   - [X] I acknowledge that I am a maintainer/committer of the Apache Airflow 
project.


-- 
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-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to