Viewing Your Service's Logs

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:

  1. Open the Logs Viewer in the GCP Console:

    Go to Logs Viewer

  2. In the first filter dropdown at the top of the page, ensure GAE Application is selected, and choose Default Service.

  3. Use the second filter dropdown to select only stdout and click OK.

    This limits the viewer to logs sent to standard output.

  4. 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:

    Logs Viewer

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.

Next steps

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.

Was this page helpful? Let us know how we did:

Send feedback about...

App Engine standard environment for Node.js docs