In my web application, I use
System.Diagnostics.Trace.WriteLine(...);
for diagnostics. The application is published to an Azure deployment slot. I am wondering where I can find these logs in the Azure Portal (or Visual Studio's cloud explorer).
You first need to activate the Application Logging:
Monitoring
/ App Service logs
.Application Logging
and configure it.This article can also be useful: https://stackify.com/azure-app-service-log-files/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With