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 on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).
Get it free on the App Store