Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for detailed error messages and failed request tracing in App Service #7050

Closed
sebader opened this issue May 22, 2020 · 5 comments
Closed

Comments

@sebader
Copy link
Contributor

sebader commented May 22, 2020

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

Azure App Services support under "App Service Logs" to enable

  • Detailed error messages
  • Failed request tracing
    image

As far as I can see (and please correct me if I'm wrong), those settings cannot be set through Terraform today.

New or Affected Resource(s)

  • azurerm_app_service

Potential Terraform Configuration

# Copy-paste your Terraform configurations here - for large Terraform configs,
# please use a service like Dropbox and share a link to the ZIP file. For
# security, you can also encrypt the files using our GPG public key.

References

@sebader sebader changed the title Support for detailed error logging and failed request tracing in App Service Support for detailed error messages and failed request tracing in App Service May 22, 2020
@tracypholmes tracypholmes self-assigned this May 28, 2020
@NT-D
Copy link

NT-D commented Nov 3, 2020

@tombuildsstuff Hi, Can I handle this issue if no one drive this now ? I'm wondering whether this one or following issue is better challenge for beginner. I'm happy if you advice me which is good starting point.
#6236

This issue has more vote, so I'm thinking this may be good one.

@NT-D
Copy link

NT-D commented Nov 3, 2020

Just sharing investigation result. We can do this setting via CLI, so I think we may be able to achieve this via Terraform, too.

  1. Create App Service Plan
    az appservice plan create --name {app service plan name} --sku S1 --location=japaneast --resource-group {resource group name}

  2. Provision app service
    az webapp create --name {app service name} --plan {app service plan name} --runtime "node|6.9" --resource-group {resource group name}

  3. Set up log configuration
    az webapp log config --name {app service name} --resource-group {resource group name} --detailed-error-message true --failed-request-tracing true

@NT-D
Copy link

NT-D commented Nov 3, 2020

My colleague is now challenging this one, so let me try to find another good issue. Thanks.

@jackofallops
Copy link
Member

Closing as this feature has been merged and released.

@github-actions
Copy link

github-actions bot commented Jun 7, 2021

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants