[Mongrel] Logging Exceptions

Eden Li eden at mojiti.com
Thu May 24 23:05:30 EDT 2007


Mongrel logs exceptions it catches to stderr, have you looked at the
output there?  It just logs the exception message but not the full
backtrace.  You can have it include the backtrace if you send the
mongrel process the USR1 signal (`killall -USR1 mongrel_rails` or
something similar).

On 5/25/07, Manuel Holtgrewe <purestorm at ggnore.net> wrote:
> I catch all exceptions in my xmlrpc/server handler and do not send
> out 500 http answers from there. Thus, I expect the problem is in my
> handler.
>
> Now to my question: Is it possible to hook into the place where
> Mongrel itself catches the exceptions so I can log an exception trace
> when this happens?


More information about the Mongrel-users mailing list