Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Best approach to log faults?

Not applicable

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 Solved
2 5 1,163
1 ACCEPTED SOLUTION

Not applicable

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?

View solution in original post

5 REPLIES 5