diff --git a/rdb.go b/rdb.go index 90f7bfd..1f0e9dc 100644 --- a/rdb.go +++ b/rdb.go @@ -143,7 +143,7 @@ func newRedisPool(s RdSettings, logger logr.Logger) *redis.Pool { connStr := s.ConnStr() if len(s.Prefix) > 0 { - logger = logger.WithName("[" + s.Prefix + "]") + logger = logger.WithValues("rd", s.Prefix) } return &redis.Pool{