From 804fabc6c024589ca282aa67ff7b2a9c19210685 Mon Sep 17 00:00:00 2001 From: Tobie Morgan Hitchcock Date: Tue, 19 Jul 2016 12:04:22 +0100 Subject: [PATCH] Don't log db connection string incase of sensitive data --- db/db.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/db.go b/db/db.go index ea36c4fc..508b8d56 100644 --- a/db/db.go +++ b/db/db.go @@ -41,7 +41,7 @@ var db *kvs.DB // Setup sets up the connection with the data layer func Setup(opts *cnf.Options) (err error) { - log.WithPrefix("db").Infof("Starting database at %s", opts.DB.Path) + log.WithPrefix("db").Infof("Starting database") db, err = kvs.New(opts)