Generating backtrace in the log

Hi all,

Recently I’m looking for some errors in RT and find current
information saved in the log is not sufficient. In DIE handler, I
change the line

$RT::Logger->error( $_[0] );

into

use Carp; $RT::Logger->error( Carp::longmess($_[0]) );

and a backtrace will be generated. Please be noted that the backtrace
is VERY VERY long, so change this line if you really need it. The
DIE handler could be found in lib/RT.pm and
lib/RT/Scrip_Overlay.pm.

plasma

PC home �q�l�H�c�A�ӽнЦ�: http://www.pchome.com.tw
PC home Online �����a�x�G�|���Ĥ@�A�x�W�̤j���J�f����