'Log writing in Storage account from Azure Function App
I have a .net code that executes every day deployed in one of the server. Once the code is executed the logs are written in a text file present in the server. I need to migrate the code running in the server to Azure function app. Is there anyway to write the logs once the code is executed into any format file in storage account?
Solution 1:[1]
In your function app you can go to "Diagnostic Settings" and redirect all logs to a provider of your choice.
Refer to this for more info: https://docs.microsoft.com/en-us/azure/azure-monitor/essentials/diagnostic-settings?WT.mc_id=Portal-Microsoft_Azure_Monitoring&tabs=CMD
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Ricky G |


