AnsweredAssumed Answered

Log File per API in Gateway

Question asked by milindbangar79 on Jan 4, 2019
Latest reply on Jan 10, 2019 by Ben.Deutsch

Hi,

 

I am trying to create Log Sink for each API being developed on CA API Gateway.

While creating it from API itself, it adds the filter value Service in the log sink.

I have also created a Javascript Assertion within a Policy Fragment and included in the API and using the following class to log it :

com.l7tech.external.assertions.js.features.bindings.JavaScriptLogger

 

Problem Statement:

1. I can see the log message only when there is no Service Filter in the Log Sink.

2. Because of above , if I do not add the service filter the log message is visible in other log sink created for different API

 

Kindly help, if there is some configuration , which would enable a log sink for each API.

 

Regards

Milind

 

Logging HTTP Request Params to custom Log Sink File

Outcomes