Search code examples
azureazure-web-app-service

How to get detailed 400 error information on a Linux Azure App Service


Is there a way to get detailed 400 error information on a Linux Azure App Service? I would like to see if the json in the post is causing the errors I am getting. I read this post and it seems to be Windows specific. This Microsoft Document specifies that Detailed Error Messages and Failed request tracing are only available on Windows App Service.


Solution

    • In the same Doc you can see the Linux App Service also have an option for File System Logging.

    enter image description here

    • You can also see the logs in Log stream.

    enter image description here

    • One more option to check logs is in newui => FileManager => LogFiles.
    https://YourAppname.scm.azurewebsites.net/newui/
    

    enter image description here

    If you want to get the detailed error of the logs, configuring Application Insights is the better option.

    Application Insights Transaction Search:

    enter image description here