public function onLoad() { parent::onLoad(); // load app $this->app = $this->appLoader->getById($this->appId); // log request $this->logId = $this->apiLogger->log($this->appId, $this->context->get('fusio.routeId'), isset($_SERVER['REMOTE_ADDR']) ? $_SERVER['REMOTE_ADDR'] : '127.0.0.1', $this->request); }