gilmishal gilmishal - 7 months ago 71
ASP.NET (C#) Question Core azure web app logging

I have an core deployed to azure, and I am trying to configure logging to my application using the


currently my app is writing the logs to Log Files folder in the web app storage.

enter image description here

This seems like the right place to log my changes. However, I want to view these logs in a normal interface - downloading a text file everytime, is kinda annoying.

I have looked into application insights, and azure diagnostic logs, but none of them suggest how to work with it using the ILogger interface.


First of all you have to configure logs in your application on Azure: Logs

There is also an option to look at the application console output:


You can also configure Storage on Azure and save logs there (you can configure that in Diagnostic logs section).