[rt-users] User Created Scrip Won't Run On Create
Ethan Hohensee
ethan.hohensee at live.com
Thu Feb 13 13:24:38 EST 2014
Out of curiosity, I went in and changed the Syslog debugging variable to
'error' instead of 'debug' and then add these lines to the prep and commit
code of my script:
/RT::Logger->error("Entering the prep phase");
return 1;/
and
/RT::Logger->error("Entering the Commit Phase");/
Both showed up in //var/log/messages/!
/
Feb 13 11:29:29 vector RT: [30288] Entering the prep phase
Feb 13 11:29:29 vector RT: [30288] Entering the Commit Phase/
Debug does not seem to be catching these. Below is my Logging info from the
RT Configuration web page.
/RT's logging configuration is summarized below:
Logging info level messages and higher to STDERR, which will usually end
up in your webserver's error logs.
Logging error level messages and higher to syslog.
Stack traces are not logged.
SQL queries are not logged./
With this, I atleast know that I am getting past the condition on create and
entering the action. The logic I have doesn't seem to be working for the
custom field population, but I think I can figure that out.
--
View this message in context: http://requesttracker.8502.n7.nabble.com/User-Created-Scrip-Won-t-Run-On-Create-tp56616p56644.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.
More information about the rt-users
mailing list