CmdID / az / az webapp / az webapp log / az webapp log deployment
az webapp log deployment show
Show deployment logs of the latest deployment, or a specific deployment if deployment-id is specified. Azure CLI reference
2 examples 4 options Its page in the Azure CLI reference
Examples
Show the deployment logs of the latest deployment
az webapp log deployment show --name MyWebApp --resource-group MyResourceGroupIdentify--namename of the web app.--resource-groupName of resource group.Show the deployment logs of a particular deployment
az webapp log deployment show --name MyWebApp --resource-group MyResourceGroup --deployment-id MyDeploymentIdIdentify--namename of the web app.--resource-groupName of resource group.--deployment-idDeployment ID.Options
--deployment-idDeployment ID.--name, -nname of the web app.--resource-group, -gName of resource group.--slot, -sthe name of the slot.