How can I view console or trace output in an azure app service?

Parkinson, Edward (DIS) 1 Reputation point

Basic debug logging

How to do debug logging in azure. I want basic logging. Logging to pin down server side bugs such as the cause of a time out.

I tried this - but it did not work:
Solution by benjamingranados

I can see get/post requests with the above solution, IIS messages I am guessing. But no logs.

3 of us have put over 8 hours into this and still no solution. Logs are something widely used, I would expect it to be a 5 min thing. Logs with google was super easy, but not with azure.

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,135 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Krunal 6 Reputation points

    I am agree with @Parkinson, Edward (DIS) .

    With GCP, It is easy to manage logs & use it. In Azure, It is totally opposite.

    1 person found this answer helpful.
    0 comments No comments

  2. Sreeju Nair 11,946 Reputation points

    You need to enable diagnostics logging for apps in Azure App Service.


    0 comments No comments

  3. Andy Robinson 1 Reputation point

    Indeed, Azure's handling of logs is one of the more obtuse and bizarre implementations I've ever seen. But I'm sure after I understand the assumptions on which it was based, it will seem easy.

    0 comments No comments