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/
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.