[rt-users] Help! Suddenly getting stacktraces
David Hobley
david.hobley at mionegroup.com
Fri May 16 03:23:16 EDT 2008
Michael,
Thanks for that - the problems have been resolved. I would never have guessed that from the variable name.
Cheers,
David
----- Original Message -----
From: "michael brader" <michael.brader at youramigo.com>
To: "David Hobley" <david.hobley at mionegroup.com>
Cc: "rt-users" <rt-users at lists.bestpractical.com>
Sent: Friday, 16 May, 2008 3:23:51 PM (GMT+1000) Auto-Detected
Subject: Re: [rt-users] Help! Suddenly getting stacktraces
David Hobley writes:
> Michael,
>
> Thanks for the quick response. Are you saying that these
> stacktraces are not indicative of any issues and that I can ignore
> them?
Well, you should set that variable to 0, because generating the stack
trace will have some overhead (presumably mostly in writing the lines
to the log).
> Normally I would expect that anything that generated a stacktrace
> would also require a fix to not generate them!
Normally you'd be right, but if it's LogStackTrace, it's not a stack
trace generated by Perl, but by RT. From RT.pm:
if( $RT::LogStackTraces ) {
$str .= "\nStack trace:\n";
# skip calling of the Log::* subroutins
$frame++ while( caller($frame) && (caller($frame))[3] =~ /^Log::/ );
while( my ($package, $filename, $line, $sub) = caller($frame++) ) {
$str .= "\t". $sub ."() called at $filename:$line\n";
}
}
Cheers,
Michael
--
Michael Brader michael.brader at youramigo.com
--
Cheers,
David Hobley
IT Manager
Creators of Miessence, MiVitality and MiEnviron
Phone: +61 (7) 5582 7020
Fax: +61 (7) 5539 6719
USA Fax 1800 840 0827
Email : david.hobley at mionegroup.com
Website: www.mionegroup.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20080516/0130a4b0/attachment.htm>
More information about the rt-users
mailing list