From a756b7e1c6c289b9ed551e4b0118e362d478e3ad Mon Sep 17 00:00:00 2001 From: Scott Bishel Date: Thu, 14 Oct 2021 11:04:35 -0600 Subject: [PATCH] remove connection string from log (#1564) --- server/services/store/sqlstore/sqlstore.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/services/store/sqlstore/sqlstore.go b/server/services/store/sqlstore/sqlstore.go index f79136681..3ce8e848e 100644 --- a/server/services/store/sqlstore/sqlstore.go +++ b/server/services/store/sqlstore/sqlstore.go @@ -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,