[rt-devel] Debugging?

Bruce Campbell bruce_campbell at ripe.net
Thu Mar 21 20:55:05 EST 2002

On Thu, 21 Mar 2002 wozz+rt at wookie.net wrote:

> Whats the best method for getting good debugging data out of RT?  I"m
> working on some scripsconditions and actions and I'd like to print out some
> debugging output to divine some info on stuff thats not documented
> (transaction info on linking and such).  Is there a nice way to spit out
> debugging info, or should I just stick in a bunch of 'print's.

RT::Logger->debug("$self: my error message");

Then up your logging in config.pm to debug whilst you're debugging, and
put it back to error (or so) when finished debugging.

                             Bruce Campbell                            RIPE
                   Systems/Network Engineer                             NCC
                 www.ripe.net - PGP562C8B1B                      Operations

More information about the Rt-devel mailing list