az webapp log config
command to enable diagnostic logs for the Azure Web Service.--web-server-logging
and --detailed-error-messages
parameters respectively.az webapp log storage
command to configure the storage account for storing the diagnostic logs.--name
and --resource-group
parameters.--logs
parameter.az webapp config appsettings set
command to enable Application Insights for the Azure Web Service.--settings
parameter.APPINSIGHTS_INSTRUMENTATIONKEY
environment variable to the instrumentation key value.<webapp_name>
, <resource_group_name>
, <storage_account_name>
, and <storage_account_key>
with the actual names and values specific to your Azure environment.