From f60c7241788e4860a4fc1b1f7dfe2fed3a93a662 Mon Sep 17 00:00:00 2001 From: Matt Drollette Date: Fri, 4 Oct 2019 01:53:49 -0500 Subject: [PATCH] driver: don't log DSN (#1593) --- driver/registry.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/driver/registry.go b/driver/registry.go index f11e72dba7a..c3c58d7c606 100644 --- a/driver/registry.go +++ b/driver/registry.go @@ -1,8 +1,6 @@ package driver import ( - "fmt" - "github.com/pkg/errors" "github.com/sirupsen/logrus" @@ -58,7 +56,6 @@ func MustNewRegistry(c configuration.Provider) Registry { } func NewRegistry(c configuration.Provider) (Registry, error) { - fmt.Print("Got dsn: ", c.DSN()) driver, err := dbal.GetDriverFor(c.DSN()) if err != nil { return nil, errors.WithStack(err)