Share via


az webapp log deployment

Manage web app deployment logs.

Commands

Name Description Type Status
az webapp log deployment list

List deployments associated with web app.

Core GA
az webapp log deployment show

Show deployment logs of the latest deployment, or a specific deployment if deployment-id is specified.

Core GA

az webapp log deployment list

List deployments associated with web app.

az webapp log deployment list --name
                              --resource-group
                              [--slot]

Examples

List the deployment logs

az webapp log deployment list --name MyWebApp --resource-group MyResourceGroup

Required Parameters

--name -n

Name of the web app. If left unspecified, a name will be randomly generated. You can configure the default using az configure --defaults web=<name>.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Optional Parameters

--slot -s

The name of the slot. Default to the productions slot if not specified.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az webapp log deployment show

Show deployment logs of the latest deployment, or a specific deployment if deployment-id is specified.

az webapp log deployment show --name
                              --resource-group
                              [--deployment-id]
                              [--slot]

Examples

Show the deployment logs of the latest deployment

az webapp log deployment show --name MyWebApp --resource-group MyResourceGroup

Show the deployment logs of a particular deployment

az webapp log deployment show --name MyWebApp --resource-group MyResourceGroup --deployment-id MyDeploymentId

Required Parameters

--name -n

Name of the web app. If left unspecified, a name will be randomly generated. You can configure the default using az configure --defaults web=<name>.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Optional Parameters

--deployment-id

Deployment ID. If none specified, returns the deployment logs of the latest deployment.

--slot -s

The name of the slot. Default to the productions slot if not specified.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.