1
0
mirror of https://github.com/redis/go-redis.git synced 2025-07-31 05:04:23 +03:00

Add prefix to package logger.

This commit is contained in:
Vladimir Mihailenco
2016-02-06 12:16:09 +02:00
parent 6dac5ea35c
commit ebf51e1a1b
8 changed files with 30 additions and 30 deletions

View File

@ -201,7 +201,7 @@ func (ring *Ring) heartbeat() {
for _, shard := range ring.shards {
err := shard.Client.Ping().Err()
if shard.Vote(err == nil || err == errPoolTimeout) {
Logger.Printf("redis: ring shard state changed: %s", shard)
Logger.Printf("ring shard state changed: %s", shard)
rebalance = true
}
}