Checking the log files of nodes

You can easily check the current log for the health of a peer and chaincode executions. Let's demonstrate this with one of the peers of Acme services. Imagine that we have just invoked some chaincode and made some errors along the way while invoking the available chaincode functions.

First, navigate to one of the peers that you want to inspect; for example, peer0-1. We can navigate to that peer node via the Nodes page. From there, we can directly monitor its health, as this is provided by default. The following screenshot shows the current health of the peer node and the user transaction it endorsed:

The current ...

Get Blockchain across Oracle now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.