[Mongrel] logger & debug level

Alexey Verkhovsky alexey.verkhovsky at gmail.com
Wed Dec 12 14:10:11 EST 2007


On Dec 12, 2007 11:53 AM, Evan Weaver <evan at cloudbur.st> wrote:
> Actually, the trace snip level is hard-compiled into Ruby. Find the
> place where the traceback occurs, rescue the exception, and print out
> e.traceback (or whatever it is) instead. Then you'll see the whole
> thing.

e.backtrace

The constants that determine length of truncated backtrace are
TRACE_HEAD and TRACE_TAIL, #defined in eval.c. Changing them to bigger
numbers and recompiling is another way to deal with this issue.

-- 
Alexey Verkhovsky
CruiseControl.rb [http://cruisecontrolrb.thoughtworks.com]
RubyWorks [http://rubyworks.thoughtworks.com]


More information about the Mongrel-users mailing list