# Error logging in a database / case system

**URL:** <https://www.ruby-forum.com/t/error-logging-in-a-database-case-system/159121>\
**Category:** Rails\
**Created:** [January 31, 2009, 9:40pm UTC](https://www.ruby-forum.com/t/error-logging-in-a-database-case-system/159121 "2009-01-31T21:40:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vagabond](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/258eb7/32.png) [@vagabond](https://www.ruby-forum.com/u/vagabond)\
**Post date:** [January 31, 2009, 9:40pm UTC](https://www.ruby-forum.com/t/error-logging-in-a-database-case-system/159121/1 "2009-01-31T21:40:20Z")

</div>

Just wondering what the best way to set up custom error logging in rails  
is.

I was thinking we would store errors in our database, with a generated  
case #, so that our users could call our support and we could reference  
the error they had.

I was wondering if this makes sense, or if there is a better way to do  
it.

If this does make sense, could someone point me in the direction of  
someone who has already done it?

I can create one that we use ourselves, but I was just wondering if  
there is any sophisticated ones out there for me to check out!

Thanks!

---

<div class="post-metadata">

**Author:** ![vagabond](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/258eb7/32.png) [@vagabond](https://www.ruby-forum.com/u/vagabond)\
**Post date:** [February 1, 2009, 6:21am UTC](https://www.ruby-forum.com/t/error-logging-in-a-database-case-system/159121/2 "2009-02-01T06:21:52Z")

</div>

If you are referring to errors generated from your web site, you might  
want to look at the exception logger plugin:

> **[GitHub - defunkt/exception\_logger: Unmaintained. Sorry.](https://github.com/defunkt/exception_logger/tree/master)**
>
> master

It logs all exceptions to a handy web based interface complete with  
RSS feeds. It might be a good starting point.

Sheldon

On Jan 31, 3:40 pm, Andrew T. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)
