Don't log db connection string incase of sensitive data

This commit is contained in:
Tobie Morgan Hitchcock 2016-07-19 12:04:22 +01:00
parent 14b14b8f21
commit 804fabc6c0

View file

@ -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)