code: def analysis_log_view(self):
          
          service = self.get_analysis_or_service()
          if not self.can_view_logs_of(service):
              return None
          view = api.get_view("auditlog", context=service, request=self.request)
          view.update()
          view.before_render()
          return view
docs: Get the log view of the requested analysis