You can use the built-in logging module itself which is tied to Application Insights as mentioned in the Azure Functions Python Developer Guide. You can then check these logs from the monitor tab itself.
Python Function App: LOGGING Best Practices
seadude
111
Reputation points
Hello,
I created a Python Functon App that sometimes works and sometimes doesn't. I have an Application Insights instance running, but other than catching an "Exception" message that flows through the RealTime Monitoring, I'm struggling to track down the root causes.
Hoping the community here can help with:
- Examples of logging from within your python function app
- Example AppInsights queries (kusto) to help pinpoint runtime issues
Thanks so much. Looking forward to working with you all.
1 answer
Sort by: Most helpful
-
Pramod Valavala 20,636 Reputation points Microsoft Employee
2020-06-18T11:34:16.197+00:00