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).
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/
© 2022 - 2024 — McMap. All rights reserved.