|
|
|
|
|
by ai09
5665 days ago
|
|
Until the Advanced functionality is rolled out publicly, does anyone have suggestions for logging all requests to something like S3? I was going to write my own this afternoon since I couldn't find anything. I see the market currently providing two options, neither of which encompass my use case. 1) Exception Logging via existing Heroku addons like Exceptional 2) Tracking via javascript, e.g. Google Analytics The problem I'm experiencing is that I have successful ajax calls to a Sinatra app that I'd like to log. Running 'heroku logs' will give me the last couple hundred but I'm generating many thousands. The new new Heroku logging functionality will expand that tail to showing me a few thousand queries across my dynos but as I understand it, it won't write out to S3 (nor a file since Heroku is write-only). I planned on writing a custom logger that will output to S3. If anyone has suggestions in lieu of rolling my own, please advise. Otherwise I can post the code I create on github for others in my situation. |
|
Although I'm not sure if its still being maintained.