[VOL-2312] Logging - Integrate voltctl with new etcd-based dynamic loglevel mechanism
Change-Id: Iae696fbfcb40c1b82089952d1a95c4553458925a
diff --git a/pkg/db/backend.go b/pkg/db/backend.go
index 04fe35d..faa86ed 100644
--- a/pkg/db/backend.go
+++ b/pkg/db/backend.go
@@ -222,7 +222,7 @@
defer b.Unlock()
formattedPath := b.makePath(key)
- logger.Debugw("putting-key", log.Fields{"key": key, "value": string(value.([]byte)), "path": formattedPath})
+ logger.Debugw("putting-key", log.Fields{"key": key, "value": value, "path": formattedPath})
err := b.Client.Put(ctx, formattedPath, value)