[Yandex Cloud documentation](../../../../index.md) > [Yandex Data Processing](../../../index.md) > API reference > [gRPC](../index.md) > [Job](index.md) > ListLog

# Yandex Data Processing API, gRPC: JobService.ListLog

Returns a log for specified job.

## gRPC request

**rpc ListLog ([ListJobLogRequest](#yandex.cloud.dataproc.v1.ListJobLogRequest)) returns ([ListJobLogResponse](#yandex.cloud.dataproc.v1.ListJobLogResponse))**

## ListJobLogRequest {#yandex.cloud.dataproc.v1.ListJobLogRequest}

```json
{
  "cluster_id": "string",
  "job_id": "string",
  "page_size": "int64",
  "page_token": "string"
}
```

#|
||Field | Description ||
|| cluster_id | **string**

Required field. ID of the cluster that the job is being created for.

The maximum string length in characters is 50. ||
|| job_id | **string**

Required field. ID of the job being created.

The maximum string length in characters is 50. ||
|| page_size | **int64**

The maximum bytes of job log per response to return. If the number of available
bytes is larger than `page_size`, the service returns a [ListJobLogResponse.next_page_token](#yandex.cloud.dataproc.v1.ListJobLogResponse)
that can be used to get the next page of output in subsequent list requests.
Default value: 1048576.

The maximum value is 1048576. ||
|| page_token | **string**

Page token. To get the next page of results, set `page_token` to the
[ListJobLogResponse.next_page_token](#yandex.cloud.dataproc.v1.ListJobLogResponse) returned by a previous list request.

The maximum string length in characters is 100. ||
|#

## ListJobLogResponse {#yandex.cloud.dataproc.v1.ListJobLogResponse}

```json
{
  "content": "string",
  "next_page_token": "string"
}
```

#|
||Field | Description ||
|| content | **string**

Requested part of Yandex Data Processing Job log. ||
|| next_page_token | **string**

This token allows you to get the next page of results for ListLog requests,
if the number of results is larger than `page_size` specified in the request.
To get the next page, specify the value of `next_page_token` as a value for
the `page_token` parameter in the next ListLog request. Subsequent ListLog
requests will have their own `next_page_token` to continue paging through the results.

The maximum string length in characters is 200. ||
|#