You can call this operation to query the orderer node log.
Debugging
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. |
RegionId | String | No | cn-hangzhou | The ID of the region. |
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-iyuso3g773ki
&OrdererName=orderer1
&<Common request parameters>
Successful response examples
XML
format
<DescribeFabricOrdererLogsResponse>
<RequestId>49FD299C-561E-4668-9E32-D303EE7AAA6C</RequestId>
<ErrorCode>200</ErrorCode>
<Success>true</Success>
<Result>Kafka.Retry.Producer.RetryMax=3</Result>
</DescribeFabricOrdererLogsResponse>
JSON
format
{
"Result":"MIICremoteaddress=10.1.0.129:9259\n\u001B[33m2019-09-15 10:38:26.271 UTC [core.comm] ServerHandshake -> WARN 02a\u001B[0m TLS handshake failed with error EOF server=Orderer remoteaddress=10.1.0.129:47100\n",
"RequestId":"49FD299C-561E-4668-9E32-D303EE7AAA6C",
"Success":true,
"ErrorCode":200
}
Error codes
For more information about error codes, visit API Error Center.