[prev in list] [next in list] [prev in thread] [next in thread] 

List:       rt-devel
Subject:    Re: [rt-devel] Debugging?
From:       Bruce Campbell <bruce_campbell () ripe ! net>
Date:       2002-03-22 1:55:05
[Download RAW message or body]

On Thu, 21 Mar 2002 wozz+rt@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



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic