CmdID / az / az webapp / az webapp log / az webapp log startup
az webapp log startup show
Show the content of a container startup log. Azure CLI reference
By default, shows the most recent startup log (preferring a failure log when one exists for the latest date). Use --filename to view a specific log file, or --instance to scope the latest-log lookup to a specific worker. --filename and --instance are mutually exclusive.
3 examples 1 option Its page in the Azure CLI reference
Examples
Show the latest startup log (prefers failures)
az webapp log startup show --name MyWebApp --resource-group MyResourceGroupIdentify--namename of the web app.--resource-groupName of resource group.Show a specific startup log file
az webapp log startup show --name MyWebApp --resource-group MyResourceGroup --filename 2026_04_13_lw0sdlwk000002_failure.logIdentify--namename of the web app.--resource-groupName of resource group.--filenameName of a specific startup log file to display.Show the latest startup log for a specific worker instance
az webapp log startup show --name MyWebApp --resource-group MyResourceGroup --instance lw0sdlwk000002Identify--namename of the web app.--resource-groupName of resource group.--instanceFilter by worker instance name.Options
--filename, -fName of a specific startup log file to display.