Cleanup logging of redis item
This commit is contained in:
parent
66321c44a5
commit
6d3eaa020d
|
@ -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)...))
|
||||
|
|
Loading…
Reference in New Issue
Block a user