diff --git a/db.go b/db.go index d0f6200..b5c32c8 100644 --- a/db.go +++ b/db.go @@ -74,7 +74,7 @@ func OpenPool(s Settings) *Pool { func GetDBC(p *Pool, logger logr.Logger) *DBC { if len(p.S.Prefix) > 0 { - logger = logger.WithName(p.S.Prefix) + logger = logger.WithValues("db", p.S.Prefix) } con := dbr.NewConnection(p.DB, nil)