-
Notifications
You must be signed in to change notification settings - Fork 519
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
where to view the chaincode log #6
Comments
see through the docker-compose start cli. |
Thank you very much! "docker-compose logs" does show the log I use then call logger.Infof("init logger arg0=%s", args[0]) when I used the to deploy the chaincode, in the container interal, it seem that "docker-compose logs" can't show the log. |
yes, in that case, you should find your chaincode container id by
|
Thank you very much! I get the logs |
I write some chaincode and deploy it . but there is some results, which is not my expected. I add some log to chiancode as debug info like "fmt.Println("id:" + args[0] + " - state" + args[1])", after I enter into the docker by "docker exec -it xxxx bash", then can't find where the chaincode log is.
Thank you!
The text was updated successfully, but these errors were encountered: