CmdID / az / az functionapp / az functionapp log / az functionapp log deployment
az functionapp 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 functionapp log deployment show --name MyFunctionApp --resource-group MyResourceGroupIdentify--namename of the function app.--resource-groupName of resource group.Show the deployment logs of a particular deployment
az functionapp log deployment show --name MyFunctionApp --resource-group MyResourceGroup --deployment-id MyDeploymentIdIdentify--namename of the function app.--resource-groupName of resource group.--deployment-idDeployment ID.Options
--deployment-idDeployment ID.--name, -nname of the function app.--resource-group, -gName of resource group.--slot, -sthe name of the slot.