[fix](auth) Remove printing passwords in the log (#24866)

This commit is contained in:
zy-kkk
2023-09-26 10:17:44 +08:00
committed by GitHub
parent e4c0c98efa
commit e887653dde

View File

@ -60,8 +60,8 @@ public class MysqlUtil {
try {
conn = DriverManager.getConnection(url, user, passwd);
} catch (SQLException e) {
LOG.warn("fail to get connection to mysql. url={}, user={}, passwd={}, exception={}",
url, user, passwd, e.getMessage());
LOG.warn("fail to get connection to mysql. url={}, user={}, exception={}",
url, user, e.getMessage());
return null;
}
return conn;