Azure Function How to find log of querystring sent?

%3CLINGO-SUB%20id%3D%22lingo-sub-103205%22%20slang%3D%22en-US%22%3EAzure%20Function%20How%20to%20find%20log%20of%20querystring%20sent%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-103205%22%20slang%3D%22en-US%22%3E%3CP%3EGood%20day%2C%20I%20have%20an%20Azure%20Function%20that%20is%20being%20called%20by%20a%203rd%20party%20but%20one%20of%20their%20queries%20is%20causing%20my%20function%20to%20hang.%20I've%20looked%20at%20the%20logging%20information%2C%20which%20is%20supposed%20to%20log%20the%20incoming%20querystring%20parameters%2C%20but%20this%20hasn't%20been%20logged%20as%20I%20think%20the%20call%20has%20hit%20an%20infinite%20loop%20and%20isn't%20exiting%20to%20allow%20the%20invocation%20log%20%22log%22%20entries%20being%20captured%20when%20the%20function%20is%20called%20to%20appear.%20I%20added%20on%20Application%20Insights%2C%20but%20in%20viewing%20the%20incoming%20queries%2C%20there%20is%20no%20log%20of%20the%20querystring%20(the%20%22%3Fx%3Dy%22%20part%20of%20the%20%22http%3A%2F%2Fsite%2Fapi%2Ffunction%3Fx%3Dy%22%20call)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhat%20modifications%20would%20I%20have%20to%20make%20to%20capture%20this%3F%20It%20isn't%20too%20obvious%20from%20the%20documentation%20I'm%20reading%20on%20how%20to%20do%20this.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-103205%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EAzure%20Function%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Occasional Contributor

Good day, I have an Azure Function that is being called by a 3rd party but one of their queries is causing my function to hang. I've looked at the logging information, which is supposed to log the incoming querystring parameters, but this hasn't been logged as I think the call has hit an infinite loop and isn't exiting to allow the invocation log "log" entries being captured when the function is called to appear. I added on Application Insights, but in viewing the incoming queries, there is no log of the querystring (the "?x=y" part of the "http://site/api/function?x=y" call)

 

What modifications would I have to make to capture this? It isn't too obvious from the documentation I'm reading on how to do this.

0 Replies