raajpackt edited a comment on issue #16558:
URL: https://github.com/apache/airflow/issues/16558#issuecomment-879045061
```
[2021-07-13 05:00:02,423] {subprocess.py:79} INFO - [[34m2021-07-13
05:00:02,423[0m] {[34mbase.py:[0m78} INFO[0m - Using connection to: id: X.
Host: X , Port: X, Schema: X, Login: X, Password: X, extra: {}[0m
```
I have not customized the logging in any way. This is the example output in
airflow logs. I have replaced the values with X.
```
from airflow.hooks.base_hook import BaseHook
>>> cc = BaseHook.get_connection(MY_CONNECTION_ID)
```
I believe the above causes it to print everything in the log including the
password in plain text.
--
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]