I deployed a nodejs app on Google App engine following this tutorial https://github.com/GoogleCloudPlatform/appengine-nodejs-quickstart it was successful and now I want to check the logs of the nodejs server, like in development from the terminal console. The Vms are managed by google but even if I ssh to them I don't know where to look for the logs.
You can read the stdout of the docker container that your app runs by doing docker logs <container id>
in the VM instance. You can get the container id from docker ps
.
No need to SSH into the instance though. You can simply fetch the logs from the Developers Console under Monitoring > Logs
.
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments