We are developing an application based on Azure webapps and are having troubles understanding how to get basic logs from them. There seems to be at least 3 different ways to get some logs:
- I can access Kudu (?) logs using URL https://my-webapp.scm.azurewebsites.net/
- I should be able to access the same (?) logs using
az webapp logbut when I useshowcommand it says no logs are activated - I can also access some logs using the
Diagnose and Solve Problemsmenu in the Azure UI but that's cumbersome
What I would like is very simply to be able to do a tail on logs on a running webapp and get all logs that are generated by it, whether it be HTTP request logs from the hosting HTTP server, system logs or applicative level logs.
Can someone point me at the right documents explaining what's the correct way to do that?
