What is the best approach to log faults to syslog? We want to log some of the faults that occur when using some of the OAuth and other built-in policies and I cant seem to find a easy way to do this with the Message Logging policy. We are using Loggly and I am pretty sure I can create a JS policy to do a HTTP POST to Loggly but it seems likes there should an easier way to log a fault to syslog and have the proxy handle this rest.
Any help is appreciated.
Solved! Go to Solution.
The documentation for the Message Logging Policy (http://apigee.com/docs/api-services/reference/message-logging-policy) shows an example of how to log a message to syslog/Loggly. Is there any additional information needed in order to do the same for your implementation?