I am working on an asp.net core web application.
This application is hosted on an azure app service.
This application generates log on standard output (dotnet run command). This log comes from ILogger.
How can i see this logs in azure portal ?
Thanks
Check out the following docs
The first doc shows how to use Application Insights for logging. You can capture telemetry such as request duration, dependencies involved in a given request, exceptions, etc.
The second doc shows the various ways to configure ILogger and since ASP.NET Core uses Microsoft.Extensions.Logging.AzureAppService by default, all you have to is enable the logging on the App Serivce, the third doc.