We can access the logs through Kudu. Kudu was developed to access the Microsoft Azure web apps environment. As Azure Function runs on a web app, we can use Kudu to access the logs of the Azure Functions. Kudu can access environment information, and also details of the actual filesystem which is attached to the function while running.
Kudu can be accessed through a web browser. The link for the same would be https://myAzureFunction.scm.azurewebsites.net. We have to replace the myAzureFunction with our web app name. The best part of Kudu, is that it will give us the actual file system access of our function environment, either through shell or through browsing, which makes it easier to get to root cause of the failure. ...