Turning on debugging for Scrips?

I’m trying to debug some scrips issues I’m having (sometimes mail is
being sent, sometimes it’s not) and only being able to use the mail logs
is really slowing me down. Is there anyway to enable logging/debugging
information for RT?

Thanks.

Aaron Turner aturner@netscreen.com work: 408-543-4025
Sr. Security Engineer fax: 408-543-4078
NetScreen Technologies, Inc
All emails by me are PGP signed; a bad signature indicates a forgery.

Aaron Turner wrote:

I’m trying to debug some scrips issues I’m having (sometimes mail is
being sent, sometimes it’s not) and only being able to use the mail logs
is really slowing me down. Is there anyway to enable logging/debugging
information for RT?

Look for the “Logging” section in your RT_Config.pm (and edit
RT_SiteConfig.pm to suit.)

Phil Homewood, Systems Janitor, http://www.SnapGear.com
pdh@snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630
SnapGear - Custom Embedded Solutions and Security Appliances

-----BEGIN PGP SIGNED MESSAGE-----

Use the Logger->info() function - ie:

$RT::Logger->info(“The contents of retval: $retval”);

And stuff appears in /var/log/messages. This is insanely helpfull, since
I’m doing exactly what you are.On Tue, 22 Jul 2003, Aaron Turner wrote:

I’m trying to debug some scrips issues I’m having (sometimes mail is
being sent, sometimes it’s not) and only being able to use the mail logs
is really slowing me down. Is there anyway to enable logging/debugging
information for RT?

Thanks.


Ken Bantoft Super FreeS/WAN Maintainer
ken@freeswan.ca http://www.freeswan.ca
PGP Key: finger ken@bantoft.org
“We can factor the number 15 with quantum computers. We
can also factor the number 15 with a dog trained to bark
three times.” – Robert Harley, 5/12/01, Sci.crypt

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: noconv

iQCVAwUBPx3ykFiWUusaxGxpAQFQ6AQAmintQAf1CiHNMpBmmMxI31juneVsWEuG
l0KF3N0YqrbJht1RLaRM1aR1nN9qiC4vgNGe+IwpHvLHYpytkXTaIJajUcN6m3Gn
yL5K+iNlkdloKp55mhVYMfUyl4sj3sAJYIC850zU3ZvIrTKGxU4pwuf+D+PrCwwM
+DUFdRLN5+s=
=KjeE
-----END PGP SIGNATURE-----