currentRequestKey)) { if (Common::isPhpCliMode()) { $this->currentRequestKey = getmypid(); } else { $this->currentRequestKey = FrontController::getUniqueRequestId(); } } $record['extra']['request_id'] = $this->currentRequestKey; return $record; } }