bluemix blockchain fmt.println not printed to log -
i deployed marbles demo bluemix. not see go fmt.println statements in log.
how programmer print bluemix log?
--ken
ken,
if using built-in deploy (demo chaincode tab) going install marbles code public github repository appropriate bluemix instance.
if looking fmt.println statements in logs, should make sure looking @ logs chaincode execution (network tab), not logs of peers themselves.
if looking edit demo code insert own log statement @ specific places, need create own fork of public marbles demo code , not use built-in deployment. can either run marbles application locally pointing blockchain instance hosted on bluemix or deploy edited code bluemix well. should find additional instructions deploy paths in readme.md of marbles demo repository, depending on preference. recommend running application locally first.
hope helps!
Comments
Post a Comment