Hello People,
ProblemIs it only me or you also faced the issue where you uploaded your app on azure web app and you wanted to troubleshoot why it is not working? And like everyone, I was missing the folder structure views where i can go and see my log files which i have written c# code on my methods.
What i had in my catch block was below
Trace.TraceError("Error = " + ex.Message);
Now on azure web app, everything was deployed and i wanted to see where it is breaking so following is the path where you can see it
- Login into your azure portal
- Go to your web app and you will find below option
- After clicking GO, you will be taken to Kudu UI, Click on Debug Console menu and select CMD
- This will take you to the folder structure and you can go to your LogFiles folder using standard console command and will be able to download the log files
Hope it helps !!!
Comments
Post a Comment