From dfe90e71d8fad80278074d8c5a5814ea58ca45c5 Mon Sep 17 00:00:00 2001 From: vibbow Date: Thu, 14 Feb 2019 13:05:29 +0800 Subject: [PATCH] Log an error if redis authentication is failed. --- system/Cache/Handlers/RedisHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/Cache/Handlers/RedisHandler.php b/system/Cache/Handlers/RedisHandler.php index 793edb761fd4..8336f6d661ce 100644 --- a/system/Cache/Handlers/RedisHandler.php +++ b/system/Cache/Handlers/RedisHandler.php @@ -117,7 +117,7 @@ public function initialize() if (isset($config['password']) && ! $this->redis->auth($config['password'])) { - // log_message('error', 'Cache: Redis authentication failed.'); + log_message('error', 'Cache: Redis authentication failed.'); } if (isset($config['database']) && ! $this->redis->select($config['database']))