remove connection string from log (#1564)

This commit is contained in:
Scott Bishel 2021-10-14 11:04:35 -06:00 committed by GitHub
parent acc81da719
commit a756b7e1c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,7 +26,7 @@ type SQLStore struct {
// New creates a new SQL implementation of the store.
func New(dbType, connectionString, tablePrefix string, logger *mlog.Logger, db *sql.DB, isPlugin bool) (*SQLStore, error) {
logger.Info("connectDatabase", mlog.String("dbType", dbType), mlog.String("connStr", connectionString))
logger.Info("connectDatabase", mlog.String("dbType", dbType))
store := &SQLStore{
// TODO: add replica DB support too.
db: db,