HEX
Server: Apache/2.4.65 (Ubuntu)
System: Linux ielts-store-v2 6.8.0-1036-gcp #38~22.04.1-Ubuntu SMP Thu Aug 14 01:19:18 UTC 2025 x86_64
User: root (0)
PHP: 7.2.34-54+ubuntu20.04.1+deb.sury.org+1
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
Upload Files
File: //snap/google-cloud-cli/current/help/man/man1/gcloud_beta_app_logs_read.1
.TH "GCLOUD_BETA_APP_LOGS_READ" 1



.SH "NAME"
.HP
gcloud beta app logs read \- reads log entries for the current App Engine app



.SH "SYNOPSIS"
.HP
\f5gcloud beta app logs read\fR [\fB\-\-level\fR=\fILEVEL\fR;\ default="any"] [\fB\-\-limit\fR=\fILIMIT\fR;\ default=200] [\fB\-\-logs\fR=\fIAPP_LOG\fR,[\fIAPP_LOG\fR,...];\ default=\f5"stderr,stdout,crash.log,nginx.request,request_log"\fR] [\fB\-\-service\fR=\fISERVICE\fR,\ \fB\-s\fR\ \fISERVICE\fR] [\fB\-\-version\fR=\fIVERSION\fR,\ \fB\-v\fR\ \fIVERSION\fR] [\fIGCLOUD_WIDE_FLAG\ ...\fR]



.SH "DESCRIPTION"

\fB(BETA)\fR Display the latest log entries from stdout, stderr and crash log
for the current Google App Engine app in a human readable format. This command
requires that the caller have the logging.logEntries.list permission.



.SH "EXAMPLES"

To display the latest entries for the current app, run:

.RS 2m
$ gcloud beta app logs read
.RE

To show only the entries with severity at \f5warning\fR or higher, run:

.RS 2m
$ gcloud beta app logs read \-\-level=warning
.RE

To show only the entries with a specific version, run:

.RS 2m
$ gcloud beta app logs read \-\-version=v1
.RE

To show only the 10 latest log entries for the default service, run:

.RS 2m
$ gcloud beta app logs read \-\-limit=10 \-\-service=default
.RE

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

.RS 2m
$ gcloud beta app logs read \-\-logs=request_log
.RE

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

.RS 2m
$ gcloud beta app logs read \-\-logs=nginx.request
.RE



.SH "FLAGS"

.RS 2m
.TP 2m
\fB\-\-level\fR=\fILEVEL\fR; default="any"

Filter entries with severity equal to or higher than a given level. \fILEVEL\fR
must be one of: \fBcritical\fR, \fBerror\fR, \fBwarning\fR, \fBinfo\fR,
\fBdebug\fR, \fBany\fR.

.TP 2m
\fB\-\-limit\fR=\fILIMIT\fR; default=200

Number of log entries to show.

.TP 2m
\fB\-\-logs\fR=\fIAPP_LOG\fR,[\fIAPP_LOG\fR,...]; default=\f5"stderr,stdout,crash.log,nginx.request,request_log"\fR

Filter entries from a particular set of logs. Must be a comma\-separated list of
log names (request_log, stdout, stderr, etc).

.TP 2m
\fB\-\-service\fR=\fISERVICE\fR, \fB\-s\fR \fISERVICE\fR

Limit to specific service.

.TP 2m
\fB\-\-version\fR=\fIVERSION\fR, \fB\-v\fR \fIVERSION\fR

Limit to specific version.


.RE
.sp

.SH "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 \fB$ gcloud help\fR for details.



.SH "NOTES"

This command is currently in beta and might change without notice. This variant
is also available:

.RS 2m
$ gcloud app logs read
.RE