Their are some sensitive APIs that are onboarded on APIM and i want no logging to be done for them due to security concerns.
Was able to get many things but none of them work and was not in the will to make custom appsinsights to be done so it just reject those logs is that the only way to not log few apis.
Have tried multiple policy both global and api level none worked till now
2
Answers
I got the solution just use the settings option of apim api and set it to 0%
Steps to diable logging
APIM policies allow you to define how your APIs are processed. You can use policies to enable or disable logging dynamically. Here’s an example of how you can control logging with policies: