shreyaUp opened a new issue #21269:
URL: https://github.com/apache/airflow/issues/21269


   ### Description
   
   Hi,
   
   Would it be possible to suppress airflow existing logs for task instance and 
use custom logging? 
   
   ### Use case/motivation
   
   The main reason behind this is to suppress the logging of connection details 
that is printed without masking the Host and Port details. (XX are added by me 
below)
   
   `[2022-01-24, 19:10:48 UTC] {base.py:70} INFO - Using connection to: id: 
mysql_default. Host: 10.22.X.X, Port: 3306, Schema: XX, Login: XX, Password: 
***, extra: {}`
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


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