Reputation: 43
For some reason, I've stopped getting console.log() messages to the dev javascript browser console.
I'm running HyperLedger Composer locally on a Mac.
My Current Environment -
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected]
Otherwise I'm operating fine. I reinstalled the fabric-tools directory, and restarted the playground. No change.
Thanks in advance for your help.
Upvotes: 1
Views: 438
Reputation: 5570
If you are using Playground with a 'Web' profile then you will see console.log output in the Browser Console.
If you use Playground to connect to your 'real' Fabric, then the console.log output of your Transaction Processing logic will be in the log of the Chaincode container. This can be viewed with a command similar to docker logs dev-peer0.org1.example.com-basic-sample-network-...
The output might be quite long so you might want to redirect it to a file for searching or pipe it into grep.
Upvotes: 2