I am new to CA API Gateway.
I am trying to create a policy fragment for logging the request parameters for the API.
On the API, I have created a Log Sink with default properties , meaning it's a file based logging.
As per documentation for JS assertion, involving logger , it suggests that logged parameters can only be written to Syslog .
logger.log(LOG_LEVEL.INFO, "The name from the request is: " + username); // Log to SSG logs.
How can I log it into the custom log sink file?