Hi All, Please help me understand how log policy works .
In my API,I am using invoke statement and then log policy with gather-only option and log level set default.
Preceding log policy, I have gateway script with context.set('log.custom.httpStatusCode',context.get('message.status.code'));.
When I test the api, I can see the custom log with httpStatusCode in analytics.
But, I would like to understand when do we use send-only option and gather -send option, what is the use of it ?
Thank you!
------------------------------
v k
------------------------------