Logging to a database rather than a text file

Hi Y’all… I’m new to rails and would like to setup to log to a
database rather than a text file as the standard function seems to do.
Any help pointing me in the right direction to do this would be much
appreciated. I suppose what I would be doing is finding the right
class and extending it to do an activerecord update. This would make
for a great tutorial topic, don’t ya think? Thanks! DC

Hi, I would highly recommend completing Part II of the following title:
http://pragprog.com/titles/rails3/agile-web-development-with-rails-third-edition

Good luck,

-Conrad

Em Friday 29 August 2008, DC escreveu:

Hi Y’all… I’m new to rails and would like to setup to log to a
database rather than a text file as the standard function seems to do.
Any help pointing me in the right direction to do this would be much
appreciated. I suppose what I would be doing is finding the right
class and extending it to do an activerecord update. This would make
for a great tutorial topic, don’t ya think? Thanks! DC

Googling for “rails logging to database”, I found this:

http://wiki.rubyonrails.org/rails/pages/HowtoConfigureLogging

Any special needs in order to log to database instead .log files?

HTH,

Davi V.

E-mail: [email protected]
MSN : [email protected]
GTalk : [email protected]
Skype : davi vidal
YIM : davi_vidal
ICQ : 138815296

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs