All Products
Search
Document Center

Blockchain as a Service:DescribeFabricOrdererLogs

Last Updated:Aug 15, 2024

You can call this operation to query the orderer node log.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter

Type

Required

Example

Description

Action

String

Yes

DescribeFabricOrdererLogs

The operation that you want to perform. Set the value to DescribeFabricOrdererLogs.

ConsortiumId

String

Yes

consortium-test-iyuso3g773ki

The ID of the consortium.

OrdererName

String

Yes

orderer1

The name of the orderer node.

Lines

String

No

50

The number of displayed lines.

Response parameters

Parameter

Type

Example

Description

ErrorCode

Integer

200

The error code.

RequestId

String

508EA949-6349-4C86-B8E7-1D90669382B1

The ID of the API request.

Result

String

Kafka.Retry.Producer.RetryMax=3

The result of the operation.

Success

Boolean

true

The result status.

Examples

Sample requests

http(s)://[Endpoint]/?Action=DescribeFabricOrdererLogs
&ConsortiumId=consortium-test-iyuso3g7****
&OrdererName=orderer1
&Lines=50
&<Common request parameters>

Successful response examples

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<DescribeFabricOrdererLogsResponse>
    <RequestId>508EA949-6349-4C86-B8E7-1D90669382B1</RequestId>
    <Result>Kafka.Retry.Producer.RetryMax=3</Result>
    <Success>true</Success>
    <ErrorCode>200</ErrorCode>
</DescribeFabricOrdererLogsResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "RequestId" : "508EA949-6349-4C86-B8E7-1D90669382B1",
  "Result" : "Kafka.Retry.Producer.RetryMax=3",
  "Success" : true,
  "ErrorCode" : 200
}

Error codes

For more information about error codes, visit API Error Center.