This guide shows how to find your App Engine logs in the Google Cloud Platform Console. Viewing application logs is one of the simplest ways to monitor the performance of your web services.
Before you begin
This guide is part of an introductory series. To start from the beginning, see Building a Node.js App on App Engine.
Using the Stackdriver Logs Viewer
In the GCP Console, you can see the messages submitted with the form you built in Updating Your Web Service. To find your service's logs:
Open the Logs Viewer in the GCP Console:
In the first filter dropdown at the top of the page, ensure GAE Application is selected, and choose Default Service.
Use the second filter dropdown to select only stdout and click OK.
This limits the viewer to logs sent to standard output.
Use the text field above the dropdowns to search for the name you used when you submitted your form.
You should see the logs corresponding to your submissions, for example:
You can use the filters at the top of the page to view different log streams such as standard error, HTTP requests, or App Engine internal activity. You can search for items containing specific content, and you can also restrict the logs to a specific App Engine service or version. To learn more about using logs and navigating the Logs Viewer UI, see the Stackdriver Logging documentation.
Now that you've built a simple Node.js web service that accepts user input, deployed it on App Engine, and learned how to monitor your logs, you're ready to build further with the Node.js App Engine tutorials.