On Thu, Oct 13, 2011 at 08:40:51AM -0500, Izz Abdullah wrote: > and you didn't have anything to say in this user's request on why it doesn't > do anything either: > http://www.gossamer-threads.com/lists/rt/users/98262
I can't answer every question on the mailing list.
That question is also from a year ago and a different version of RT.
> which also touches on the $RT::Logger not working in his callback, if I could
> get that to work, I wouldn't be bothering everyone here.
A trivial Logger call in that callback works fine:
transom:rt4.0.2 root# mkdir -p local/html/Callbacks/Hi/Search/Simple.html/
transom:rt4.0.2 root# vim local/html/Callbacks/Hi/Search/Simple.html/ModifyQuery
transom:rt4.0.2 root# cat
local/html/Callbacks/Hi/Search/Simple.html/ModifyQuery
% RT->Logger->error("Hi")
transom:rt4.0.2 root# ./sbin/standalone_httpd
HTTP::Server::PSGI: Accepting connections at http://0:8992/
[Thu Oct 13 14:24:19 2011] [info]: Successful login for root from 127.0.0.1
(/opt/rt4.0.2/sbin/../lib/RT/Interface/Web.pm:660)
[Thu Oct 13 14:24:19 2011] [error]: Hi
(/opt/rt4.0.2/local/html/Callbacks/Hi/Search/Simple.html/ModifyQuery:1)
-kevin
pgpBaSjuwhsc6.pgp
Description: PGP signature
-------- RT Training Sessions (http://bestpractical.com/services/training.html) * San Francisco, CA, USA October 18 & 19, 2011 * Washington DC, USA October 31 & November 1, 2011 * Barcelona, Spain November 28 & 29, 2011
