Home > Mobile >  How can I access my Azure Functions' logs?
How can I access my Azure Functions' logs?

Time:03-22

The logs in my log stream associated with my Azure Function App have changed and I believe the logs are going somewhere else where I'm not sure exactly how to access them. Here's a snapshot of the new messages I'm receiving:

enter image description here

Would anyone know why my logs changed to be like this and how/where I might be able to access my logs from my running function (seems to running fine)?

CodePudding user response:

While running the Azure Function, you can see the File System Logs in the Logs Console of the Test/Run Page or Log Stream under Monitoring in the left index menu of the Function App.

AzF-FileSystemLogsRepro

File System Logs <- Log Stream <- Monitoring (Left Index Menu) of the Function App:

LogStreamMenu

All these File System Logs you can see in the Storage Account associated with that Azure Function App. Storage Account > File Shares (under Data Storage) > Your Function App > LogFiles > Application > Functions > Host

FileSystemLogFilesinHost

In the path of Storage Account > File Shares (under Data Storage) > Your Function App > LogFiles > Application > Functions > Function > Your Function Name > You can see the console result (Application Logs - Execution results/failed result/error data) of the function.

AppLogsinFunction

Same Files/Logs you can see in Kudu Explorer along with the traces (but it gives minimum information from your requests and response logs) as shown in the first Gif Image.

  • Related