Skip to content

Would it be a good idea to create an Activity function just for API based logging? #2094

Answered by cgillum
a3y3 asked this question in Q&A
Discussion options

You must be logged in to vote

This feels like a bit of overkill. We typically see most users either use Application Insights for logging or use dependency injection to plug in their own loggers which intercept the normal log statements from functions and publish it somewhere else. This approach tends to scale better since logging statements are non-blocking and logs can be pushed out in batches, outside the main orchestrator function invocation.

What language are you using to develop your apps? Have you considered using the built-in logging infrastructure of Azure Functions?

https://docs.microsoft.com/en-us/azure/azure-functions/functions-monitoring

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@a3y3
Comment options

@fiddlerpianist
Comment options

@cgillum
Comment options

@fiddlerpianist
Comment options

@cgillum
Comment options

Answer selected by a3y3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants