Create PaperNet Log Console

Q

How to Create PaperNet Log Console using the "logspout" command?

✍: FYIcenter.com

A

If you are the administrator from MagnetoCorp and want to Create Log Console to monitor PaperNet Hyperledger Fabric network, you can follow this tutorial.

1. Create a new terminal window and run the monitordocker.sh script under the magnetocorp sub-directory. It runs the logspout command:

(log console)$ cd ~/hyperledger-binaries/fabric-samples
(log console)$ cd commercial-paper/organization/magnetocorp/configuration/cli/
(log console)$ ./monitordocker.sh net_basic

...
Starting monitoring on all containers on the network net_basic
b7f3586e5d0233de5a454df369b8eadab0613886fc9877529587345fc01a3582
...

peer0.org2.example.com| /opt/go/src/runtime/asm_amd64.s:1333
peer0.org2.example.com|github.com/hyperledger/fabric/gossip/gossip.(*gossipServiceImpl).acceptMessages
peer0.org2.example.com| /opt/gopath/src/github.com/hyperledger/fabric/gossip/gossip/gossip_impl.go:330
peer0.org2.example.com|runtime.goexit

If you see some log messages related peer0.org2.example.com, it's a leftover from previous tutorials. You can stop those containers manually.

Leave this log console terminal window running, so you can monitor the log messages.

 

Start CLI Container for MagnetoCorp Admin

Start basic-network for PaperNet

commercial-paper Sample Network

⇑⇑ Hyperledger Tutorials

2019-12-19, 1282🔥, 0💬