Azure-cli: View Logs for Azure App Service and Functions

Created on 14 Jul 2018  路  1Comment  路  Source: Azure/azure-cli

Is your feature request related to a problem? Please describe.
When developers are developing Web apps and functions, they often need to view server side logs. They are forced to jump out of their dev environments and view logs by navigating through multiple blades in Azure Portal. This must be easier than that.

Describe the solution you'd like

$ az webapp viewlogs -g MyResourceGroup -n MyUniqueAppName --last 500
$ az functionapp viewlogs -g MyResourceGroup -n MyUniqueAppName --last 500

Developers can view logs without navigating through Azure Portal

Describe alternatives you've considered
8 Azure Portal clicks to view logs

Most helpful comment

We already have
az webapp log download
az webapp log tail
https://docs.microsoft.com/en-us/cli/azure/webapp/log?view=azure-cli-latest

Both should work for webapp and functions app

>All comments

We already have
az webapp log download
az webapp log tail
https://docs.microsoft.com/en-us/cli/azure/webapp/log?view=azure-cli-latest

Both should work for webapp and functions app

Was this page helpful?
0 / 5 - 0 ratings

Related issues

williexu picture williexu  路  3Comments

binderjoe picture binderjoe  路  3Comments

Kannaj picture Kannaj  路  3Comments

williexu picture williexu  路  3Comments

derekbekoe picture derekbekoe  路  3Comments