[rt-users] logging in scrip conditions?

2009-06-11 Thread GravyFace
Have a scrip that's not firing for some reason. Want to write to the rt.log with some debug info, but the Logger doesn't seem to be accessible from the scrip conditions. Of course, my Perl-fu is pretty abyssmal. This possible? ___

Re: [rt-users] logging in scrip conditions?

2009-06-11 Thread Ken Crocker
GravyFace, I usually do this in my Dev environment where I first change the RT_SiteConfig.pm file to turn on logging: * Set($DevelMode, '1');. *This is OFF in production as it would make everything run REALLY slow. Then I insert the following code whereever I want to display

Re: [rt-users] logging in scrip conditions?

2009-06-11 Thread GravyFace
Ah. Forgot to enable logging; thanks Ken. On Thu, Jun 11, 2009 at 2:39 PM, Ken Crocker kfcroc...@lbl.gov wrote: GravyFace,     I usually do this in my Dev environment where I first change the RT_SiteConfig.pm file to turn on logging:     Set($DevelMode, '1');. This is OFF in production as