Debugging messages

I’m using rt-2-0-15 and I have added lines like

$RT::Logger->debug(“Debug stuff”);

to various places under WebRT but I am not seeing any output in log files.

I am still stuck with this. As far as I can see RT::Init() (and therefore RT:InitLogging) is not being called under the WebRT. Is this correct? There is a call to RT::Init in the append() sub in webmux.pl, but that is not being called either. I am very confused.
Ian Grant, Computer Lab., William Gates Building, JJ Thomson Ave., Cambridge
Phone: +44 1223 334420

I’m using rt-2-0-15 and I have added lines like

$RT::Logger->debug(“Debug stuff”);

to various places under WebRT but I am not seeing any output in log files. My
configure.pm has

$LogDir = “/tmp”;
$LogToScreen = ‘error’;
$LogToFile = ‘debug’;
#$LogToFileNamed = “$LogDir/rt.log.”.$$.".".$<; #log to rt.log..
$LogToFileNamed = “$LogDir/rt.log”.$<; #log to rt.log.user;

I am not seeing anything in /tmp/rt.log.* when I use WebRT. However I do get
output when I use the command line interface.

Does anyone have any ideas?

My web server is configured to run daemons as user www (uid 88) and group rt.

Ian Grant, Computer Lab., William Gates Building, JJ Thomson Ave., Cambridge
Phone: +44 1223 334420

Ian Grant wrote:

I am not seeing anything in /tmp/rt.log.* when I use WebRT. However I do get
output when I use the command line interface.

http://fsck.com/rtfm/article.html?id=5#112 by any chance?

�|� http://www.bestpractical.com/rt – Trouble Ticketing. Free.

http://fsck.com/rtfm/article.html?id=5#112 by any chance?

No.
Ian Grant, Computer Lab., William Gates Building, JJ Thomson Ave., Cambridge
Phone: +44 1223 334420