We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e37810 commit ce34999Copy full SHA for ce34999
1 file changed
system/Session/Handlers/RedisHandler.php
@@ -325,17 +325,15 @@ protected function lockSession(string $sessionID): bool
325
} while (++$attempt < 30);
326
327
if ($attempt === 30) {
328
- log_message(
329
- 'error',
+ $this->logger->error(
330
'Session: Unable to obtain lock for ' . $this->keyPrefix . $sessionID . ' after 30 attempts, aborting.'
331
);
332
333
return false;
334
}
335
336
if ($ttl === -1) {
337
338
- 'debug',
+ $this->logger->debug(
339
'Session: Lock for ' . $this->keyPrefix . $sessionID . ' had no TTL, overriding.'
340
341
0 commit comments