summaryrefslogtreecommitdiffstats
path: root/store/redis_supplier.go
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2018-04-27 14:12:01 -0700
committerChristopher Speller <crspeller@gmail.com>2018-04-27 14:12:01 -0700
commiteb9ff34fcfa51cd8205841a02f3d3d61ec5be8fa (patch)
treeed01fd9488bd86f6c2daf0b299dff5beb43973db /store/redis_supplier.go
parent2386acb3ddabd8827e21b1862c338a8b13a25de6 (diff)
parent2e6b3da1d3466db379fef0d61a23e2878d17ee9d (diff)
downloadchat-eb9ff34fcfa51cd8205841a02f3d3d61ec5be8fa.tar.gz
chat-eb9ff34fcfa51cd8205841a02f3d3d61ec5be8fa.tar.bz2
chat-eb9ff34fcfa51cd8205841a02f3d3d61ec5be8fa.zip
Merge branch 'master' into advanced-permissions-phase-2
Diffstat (limited to 'store/redis_supplier.go')
-rw-r--r--store/redis_supplier.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/store/redis_supplier.go b/store/redis_supplier.go
index 751227be9..ce8cb0f0d 100644
--- a/store/redis_supplier.go
+++ b/store/redis_supplier.go
@@ -9,8 +9,8 @@ import (
"time"
- l4g "github.com/alecthomas/log4go"
"github.com/go-redis/redis"
+ "github.com/mattermost/mattermost-server/mlog"
)
const REDIS_EXPIRY_TIME = 30 * time.Minute
@@ -45,7 +45,7 @@ func NewRedisSupplier() *RedisSupplier {
})
if _, err := supplier.client.Ping().Result(); err != nil {
- l4g.Error("Unable to ping redis server: " + err.Error())
+ mlog.Error("Unable to ping redis server: " + err.Error())
return nil
}