Logging to Database

I want to log various information into a mysql table after every user request to my rails app. (ie db query if there is one, execution time of that query, total page render time, etc.)

I figure I have to overwrite my error logging method, but if anyone has done this already, or there’s an easier way, I didn’t want to re-invent the wheel.



if this is a dumb question just let me know. at least then i'll happily figure it out on my own.


Dont think you can. I’ve asked the same and no one replied. So I just implemented my own database logging functionality