From 6d3eaa020d76764b390e1210877b9c0c1ed62ff4 Mon Sep 17 00:00:00 2001 From: Peter Stuifzand Date: Sat, 7 Jul 2018 14:32:36 +0200 Subject: [PATCH] Cleanup logging of redis item --- cmd/eksterd/fetch.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cmd/eksterd/fetch.go b/cmd/eksterd/fetch.go index 0c3b443..9d74d9f 100644 --- a/cmd/eksterd/fetch.go +++ b/cmd/eksterd/fetch.go @@ -391,8 +391,7 @@ func (b *memoryBackend) channelAddItem(channel string, item microsub.Item) { Data: data, } - log.Printf("Adding item to channel %s\n", channel) - log.Printf("%#v\n", forRedis) + log.Printf("Adding item to channel %s => %s\n", channel, string(forRedis.Data)) itemKey := fmt.Sprintf("item:%s", item.ID) _, err = redis.String(conn.Do("HMSET", redis.Args{}.Add(itemKey).AddFlat(&forRedis)...))