tags:

views:

38

answers:

2

I've written an API and currently am looking at what is the best way to provide logging for the system.

We want to be able to have an overview of the calls being made, if particular calls are being hit very often and such.

What is the best way to log and present all this information simply?

Simply wondering if there are any pre-built or commonly used solutions with APIs that encompass what I am looking for.

A: 

A simple solution would be to log all calls to a file, maybe in a format similar to Apache web server logs. Then you can parse the log with an existing log analytics tool,for example Webalizer.

Emil Vikström
A: 

You mention "pre-built" solutions - so have you considered using an external service for this? E.g. take a look at http://www.webservius.com - it provides many different API management features, and can do various types of analytics (e.g. displaying which calls are used most often, by which user, etc)

Eugene Osovetsky
Unfortunately will end up far too expensive for our needs.
James
You can contact me offline at eugene at webservius dot com with your exact needs (expected call volumes, etc) and we may be able to figure something out.
Eugene Osovetsky