public HttpResponse getLogs(ApplicationId applicationId, Optional<DomainName> hostname, Query apiParams) {
        Exception exception = null;
        for (var uri : getLogServerUris(applicationId, hostname)) {
            try {
                return logRetriever.getLogs(uri.withQuery(apiParams), activationTime(applicationId));
            } catch (RuntimeException e) {
                exception = e;
                log.log(Level.INFO, e.getMessage());
            }
        }
        return HttpErrorResponse.internalServerError(Exceptions.toMessageString(exception));
    }
Deletes an application and associated resources

@return true if the application was found and deleted, false if it was not present
@throws RuntimeException if deleting the application fails. This method is exception safe.
configserver/src/main/java/com/yahoo/vespa/config/server/ApplicationRepository.java