Error logging in a database / case system

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

http://github.com/defunkt/exception_logger/tree/master

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

Sheldon