public function logRenewId(JoinPointInterface $joinPoint) { $session = $joinPoint->getProxy(); $oldId = $session->getId(); $newId = $joinPoint->getAdviceChain()->proceed($joinPoint); if ($session->isStarted()) { $this->systemLogger->log(sprintf('%s: Changed session id from %s to %s', $this->getClassName($joinPoint), $oldId, $newId), LOG_INFO); } return $newId; }