When i was using the Azure CLI 1.0, i use the following command to log tail my webapp:
azure login
azure site log tail MY_WEBAPP_NAME
Now after i have switched to Azure CLI 2.0, i cannot find the name of my webapp using the supposingly equivalent command az webapp log tail, when I type:
azure login //then follow the login procedures
azure webapp log tail--name MY_WEBAPP_NAME
it returns:
az webapp log tail: error: (--resource-group | --ids) are required
I cannot figure out how i could use the command successfully.