Tools, FAQ, Tutorials:
View Logs Files of basic-network
How to view logs files of the example network, basic-network?
✍: FYIcenter.com
The example network, basic-network, consists of 4 Docker containers.
You can view the log file on each container.
1. View log file of the orderer container:
$ docker logs orderer.example.com [orderer.common.server] prettyPrintStruct -> INFO 002 Orderer config values: General.LedgerType = "file" General.ListenAddress = "0.0.0.0" General.ListenPort = 7050 General.TLS.Enabled = false General.TLS.PrivateKey = "/etc/hyperledger/fabric/tls/server.key" General.TLS.Certificate = "/etc/hyperledger/fabric/tls/server.crt" General.TLS.RootCAs = [/etc/hyperledger/fabric/tls/ca.crt] ...
2. View log file of the CA server container:
$ docker logs ca.example.com Created default configuration file at \ /etc/hyperledger/fabric-ca-server/fabric-ca-server-config.yaml Starting server in home directory: /etc/hyperledger/fabric-ca-server Server Version: 1.4.1 Key file location: /etc/hyperledger/fabric-ca-server-config/4239aa0dcd76daee..._sk Certificate file location: /etc/hyperledger/fabric-ca-server-config/ca.org1.example.com-cert.pem Initialized sqlite3 database at /etc/hyperledger/fabric-ca-server/fabric-ca-server.db Operation Server Listening on 127.0.0.1:9443 Listening on http://0.0.0.0:7054 ...
3. View log file of the peer container:
$ docker logs peer0.org1.example.com [nodeCmd] serve -> INFO 001 Starting peer: Version: 1.4.1 Commit SHA: 87074a7 Go version: go1.11.5 OS/Arch: linux/amd64 Chaincode: Base Image Version: 0.4.15 Base Docker Namespace: hyperledger Base Docker Label: org.hyperledger.fabric Docker Namespace: hyperledger [ledgermgmt] initialize -> INFO 002 Initializing ledger mgmt ...
4. View log file of the DB server container:
$ docker logs couchdb
****************************************************
WARNING: CouchDB is running in Admin Party mode.
This will allow anyone with access to the
CouchDB port to access your database. In
Docker's default configuration, this is
effectively any other container on the same
system.
Use "-e COUCHDB_USER=admin -e COUCHDB_PASSWORD=password"
to set it in "docker run".
****************************************************
nonode@nohost -------- Application couch_log started on node nonode@nohost
nonode@nohost -------- Application folsom started on node nonode@nohost
...
⇒ Connect to basic-network Peer
⇐ Container Network - "net_basic"
2020-04-14, ∼1390🔥, 0💬
Popular Posts:
How To Break a File Path Name into Parts in PHP? If you have a file name, and want to get different ...
How to create a "Sign-up or Sign-in" user flow policy in my Azure AD B2C directory? If you want to b...
How to add request query string Parameters to my Azure API operation to make it more user friendly? ...
What's Wrong with "while ($c=fgetc($f)) {}" in PHP? If you are using "while ($c=fgetc($f)) {}" to lo...
How to register and get an application ID from Azure AD? The first step to use Azure AD is to regist...