You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When hydra starts, it prints database connection information in the log. These log records have DSN info in them which keep the username and password unmasked.
Reproducing the bug
Steps to reproduce the behavior:
Run hydra serve all with a MySQL DSN configured
Check the server startup log.
Server logs
time="2019-09-28T02:42:37Z" level=info msg="Establishing connection with SQL database backend" dsn="username:password@tcp(dbip:3306)/hydradb?parseTime=true://*:*@tcp(dbip:3306)/hydradb?parseTime=true"
time="2019-09-28T02:42:37Z" level=info msg="Successfully connected to SQL database backend" dsn="username:password@tcp(dbip:3306)/hydradb?parseTime=true://*:*@tcp(dbip:3306)/hydradb?parseTime=true"
Expected behavior
The DSN username and password should not be shown in plaintext.
Describe the bug
When hydra starts, it prints database connection information in the log. These log records have DSN info in them which keep the username and password unmasked.
Reproducing the bug
Steps to reproduce the behavior:
hydra serve all
with a MySQL DSN configuredServer logs
Expected behavior
The DSN username and password should not be shown in plaintext.
Environment
The text was updated successfully, but these errors were encountered: