Well, you could make a filter, or you could make Rack middleware to do that, or you can access some of your logs with `heroku logs`, though as far as I can tell that's mainly for debugging purposes. I'd personally do it as middleware.
On Jan 24, 6:41 pm, Ken Collins <[email protected]> wrote: > I plan on launching a rails site on Heroku sometime soon that is the backend > datastore to a native iPhone application. I was thinking about the ability to > track API calls to my application on the platform and remembered that I > really do not get access to the logs or am I incorrect? The iPhone is not > making MobileSafari calls and hence will never hit the rails application in > such a way that allows analytics to be tracked from JS based HTML page loads. > What are my options for getting stats from the logs or recording my own > stats? Am I just going to have to roll my own after filter at the controller > level that writes request analytics to my API? > > - Thanks, > Ken -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
