[Feature] [Log] The data source password in the log is not encrypted
Search before asking
- [X] I had searched in the issues and found no similar issues.
What happened
The data source password in the log is not encrypted.
What you expected to happen
It should be encrypted or replaced with "****"
How to reproduce
See "What happened"
Anything else
No response
Version
dev
Are you willing to submit PR?
- [ ] Yes I am willing to submit a PR!
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
Hi:
- Thank you for your feedback, we have received your issue, Please wait patiently for a reply.
- In order for us to understand your request as soon as possible, please provide detailed information、version or pictures.
- If you haven't received a reply for a long time, you can subscribe to the developer's email,Mail subscription steps reference https://dolphinscheduler.apache.org/en-us/community/development/subscribe.html ,Then write the issue URL in the email content and send question to [email protected].
I will check this issue.
@mchcz Could you give more details about this issue. Like a few logs.
@calvinjiang [INFO] 2021-12-29 16:55:46.487 org.apache.dolphinscheduler.api.aspect.AccessLogAspect:[81] - REQUEST TRACE_ID:e9518849-3bfe-4e0f-bf4c-1e09dc5ebfab, LOGIN_USER:dolphinscheduler, URI:/dolphinscheduler/datasources/connect, METHOD:POST, HANDLER:org.apache.dolphinscheduler.api.controller.DataSourceController.connectDataSource, ARGS:{dataSourceParam=OracleDatasourceParamDTO{name='oracle-172.16.0.82', note='', host='172.16.0.82', port=1521, database='orcl', userName='sdprpt', password='tt.123456', connectType=ORACLE_SID, other='null'}}