Don't log db connection string incase of sensitive data
This commit is contained in:
parent
14b14b8f21
commit
804fabc6c0
1 changed files with 1 additions and 1 deletions
2
db/db.go
2
db/db.go
|
@ -41,7 +41,7 @@ var db *kvs.DB
|
||||||
// Setup sets up the connection with the data layer
|
// Setup sets up the connection with the data layer
|
||||||
func Setup(opts *cnf.Options) (err error) {
|
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)
|
db, err = kvs.New(opts)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue