az webapp log tail
CautionOperate App Service
az webapp log tail -g <rg> -n <app>
Tails live logs and restarts web apps — the first move on App Service 500s.
Examples
az webapp restart -g prod-rg -n corp-siteRestart the app
Syntax
az webapp [log tail|restart|list] -g rg -n name
Before you run it
Restart causes a brief outage.
Related commands
- az monitor activity-log listQuery the activity log
- az group listList resource groups
The same reference, with no signal at all
Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.
Get it free on the App Store