Azure / Azure/azure-powershell
webapp:Turn on Application Logging for Web Apps
- Dominant language
- C#
- Stars
- 4.8k
- Forks
- 4.3k
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 51
Description
## Description of the new feature
Is there no way to turn on Application Logging (either Filesystem or Blob) for a Web App using Az.Websites??
I looked in the list [here,](https://docs.microsoft.com/en-us/powershell/module/az.websites/?view=azps-3.1.0) but don't see anything that looks like that's what it's for.
I did find `Enable-AzureWebsiteApplicationDiagnostic`, but it looks like this is for an older version of powershell, and as such, when I try to use it I get this error:
> The term 'Enable-AzureWebsiteApplicationDiagnostic' is not recognized as the name of a cmdlet, function, script file, or operable program
I would think this is something that you ought to be able to do via powershell.
## Proposed implementation details (optional)
This is the command I had tried....isn't there something that will accomplish the same thing with parameters like these?
`Enable-AzureWebsiteApplicationDiagnostic -Name "[my web app]" -BlobStorage -LogLevel "Information" -StorageAccountName "[my storage account]" -StorageBlobContainerName "[my container]"`
Contributor guide
Assessment
This issue has not been assessed yet.