raajpackt opened a new issue #16614:
URL: https://github.com/apache/airflow/issues/16614


   ```
   from airflow.hooks.base_hook import BaseHook
   Basehook.get_connection('my_connection_id')
   ```
   
   The second line prints out my connection details including the connection 
password in Airflow logs. Earlier connection passwords were masked by default.
   
   
https://airflow.apache.org/docs/apache-airflow/stable/_modules/airflow/hooks/base.html
   
   The above statement is run for logging. Is there a way to disable to logging 
to not print Connection password in my logs?


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to