Skip to content

Commit

Permalink
Merge pull request #1723 from vibbow/pr_redis_enable_log
Browse files Browse the repository at this point in the history
Log an error if redis authentication is failed.
  • Loading branch information
lonnieezell authored Feb 14, 2019
2 parents f3d4117 + dfe90e7 commit 92b093a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/Cache/Handlers/RedisHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -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']))
Expand Down

0 comments on commit 92b093a

Please sign in to comment.