Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)



gcloud preview app get-logs

NAME
gcloud-preview-app-get-logs - Get the logs for a version of your app.
SYNOPSIS
gcloud preview app get-logs
  MODULE
  [OUTPUT_FILE]
  [--append]
  [--days DAYS]
  [--end-date END_DATE]
  [--format FORMAT]
  [--help]
  [--include-all]
  [--include-vhost]
  [--project PROJECT]
  [--quiet, -q]
  [--server SERVER]
  [--severity SEVERITY]
  --version VERSION
  [--vhost VHOST]
  [-h]
POSITIONAL ARGUMENTS
MODULE
The module to get the logs for.
[OUTPUT_FILE]
The file to write the logs to. If "-" or if not given, logs are printed to standard out.
FLAGS
--append
Append the logs to an existing file.
--days DAYS
The number of days worth of logs to get. Use 0 for all available logs. Default is 1 day, unless --append is given; then it is 0
--end-date END_DATE
End date (as YYYY-MM-DD) of period for log data. Defaults to today.
--format FORMAT
Specify a format for printed output. By default, a command-specific human-friendly output format is used. Setting this flag to one of the available options will serialize the result of the command in the chosen format and print it to stdout. Supported formats are: "json", "text", "yaml".
--help
Display detailed help.
--include-all
Include all available data in each log line.
--include-vhost
Include virtual host name in each log line.
--project PROJECT
Google Cloud Platform project to use for this invocation.
--quiet
Disable all interactive prompts when running gcloud commands. If input is required, defaults will be used, or an error will be raised.
--server SERVER
The App Engine server to connect to.
--severity SEVERITY
The severity of app level logs to get. If not given, only request logs are returned.
--version VERSION
The version of the app you want to download the logs for.
--vhost VHOST
Only return log messages from this virtual host. Defaults to all virtual hosts.
-h
Print a summary help and exit.

Authentication required

You need to be signed in with Google+ to do that.

Signing you in...

Google Developers needs your permission to do that.