Using the Logs Panel

The Debug page includes quick access to log messages through an in-page logs panel, allowing you to see log messages next to your source code.

Click the Show Logs button below the file contents to expand the panel.

Show Logs button below the file contents

All current log entries are shown:

The logs panel

Search by text

You can search through all of the available logs with simple text search. Text is treated as an exact string. To make an AND search for multiple terms, press enter between each string.

Typing logpoint 4 and pressing enter searches for the exact string, "logpoint 4":

Typing logpoint, enter, 4, enter searches for entries containing "logpoint" AND "4":

Filter by request or file

To access additional filter and view options, open the more actions menu next to any log entry:

Open the overflow menu

Filter by request returns all log entries generated by the same request.

Filter by file returns all log entries belonging to the same file, regardless of request or line number.

Show in context

Also available from the more actions menu , Show in context is enabled once you have filtered the results in any way. It highlights the selected log entry and returns to unfiltered view, allowing you to see the entry in context with preceding and following requests.

Show in Stackdriver Logging

More actions > Show in logs viewer opens the log entry in the Cloud Platform Console Logs page and shows detailed information about the request that spawned the log entry.

Filter by log level

The drop-down menu above the log entries allows you to filter by log level, from Debug to Critical. Each level also includes entries from the levels above it.

Log levels filter

Send feedback about...

Stackdriver Debugger Documentation