gilmishal gilmishal - 2 years ago 189
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.

Answer Source

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).

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download