gcloud app logs tail

NAME
gcloud app logs tail - streams logs for App Engine apps
SYNOPSIS
gcloud app logs tail[--level=LEVEL; default="any"][--logs=APP_LOG,[APP_LOG,…]; default="stderr,stdout,crash.log,nginx.request,request_log"][--service=SERVICE,-sSERVICE][--version=VERSION,-vVERSION][GCLOUD_WIDE_FLAG]
DESCRIPTION
Streams logs for App Engine apps.
EXAMPLES
To stream logs from a serving app, run:
gcloudapplogstail

To show only logs with a specific service, version, and level, run:

gcloudapplogstail--service=s1--version=v1--level=warning

To show only the logs from the request log for Standard apps, run:

gcloudapplogstail--logs=request_log

To show only the logs from the request log for Flex apps, run:

gcloudapplogstail--logs=nginx.request
FLAGS
--level=LEVEL; default="any"
Filter entries with severity equal to or higher than a given level.LEVEL must be one of:critical,error,warning,info,debug,any.
--logs=APP_LOG,[APP_LOG,…]; default="stderr,stdout,crash.log,nginx.request,request_log"
Filter entries from a particular set of logs. Must be a comma-separated list oflog names (request_log, stdout, stderr, etc).
--service=SERVICE,-sSERVICE
Limit to specific service.
--version=VERSION,-vVERSION
Limit to specific version.
GCLOUD WIDE FLAGS
These flags are available to all commands:--access-token-file,--account,--billing-project,--configuration,--flags-file,--flatten,--format,--help,--impersonate-service-account,--log-http,--project,--quiet,--trace-token,--user-output-enabled,--verbosity.

Run$gcloud help for details.

NOTES
This variant is also available:
gcloudbetaapplogstail

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-05-13 UTC.