Is there a way to monitor the production logfile so that when an error occurs, it can trap and email the error to me? Alternatively, is it possible to write errors out to a separate logfile. A few months ago I read something where a couple of guys where doing this on their production site. Their goal was to get errors down to practically zero in a short period of time. I know its possible to hack the logging to get something like this in place, just wanted to know if someone already had a solution before I started re-inventing the wheel. Regards - Ericson S.
on 2007-02-16 02:21
on 2007-02-16 02:30
Check out the exception_notifications plugin. That might be what you are looking for. -carl On 2/15/07, esconsult1 <email@example.com> wrote: > place, just wanted to know if someone already had a solution before I > started re-inventing the wheel. > > Regards > - Ericson S. > > > > > -- EPA Rating: 3000 Lines of Code / Gallon (of coffee)
on 2007-02-16 02:37
Hi, 2007/2/16, esconsult1 <firstname.lastname@example.org>: > place, just wanted to know if someone already had a solution before I > started re-inventing the wheel. You may have a look at Exception Notification plugin : http://wiki.rubyonrails.org/rails/pages/ExceptionN... Rails will send you mails when exception occurs. -- Jean-François. -- Ruby ( http://www.rubyfrance.org ) on Rails ( http://www.railsfrance.org )
on 2007-02-16 02:45
Excellent, that's exactly it. Thanks a lot. For those looking for a source itself: http://wiki.rubyonrails.org/rails/pages/ExceptionN... And some more info: http://www.railsweenie.com/forums/2/topics/812 - Ericson S.