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