[rt-users] Problem with debug logging

Don Beethe dmbeethe at fedex.com
Wed Nov 2 13:09:50 EST 2005


Tried to add some logging to debug what is going on and when I restart
apache it fails and the error_log shows: 
[Wed Nov 02 11:10:19 2005] [error] Can't call method "debug" on an
undefined val
ue at /opt/rt3/lib/RT/User.pm line 838.\nCompilation failed in require
at /opt/r
t3/lib/RT/Record.pm line 69.\nBEGIN failed--compilation aborted at
/opt/rt3/lib/
RT/Record.pm line 69.\nCompilation failed in require at
/opt/rt3/lib/RT/CurrentU
ser.pm line 73.\nBEGIN failed--compilation aborted at
/opt/rt3/lib/RT/CurrentUse
r.pm line 73.\nCompilation failed in require at /opt/rt3/lib/RT.pm line
49.\nBEG
IN failed--compilation aborted at /opt/rt3/lib/RT.pm line
49.\nCompilation faile
d in require at /opt/rt3/bin/webmux.pl line 66.\nBEGIN
failed--compilation abort
ed at /opt/rt3/bin/webmux.pl line 66.\nCompilation failed in require at
(eval 2)
 line 1.\n
[Wed Nov 02 11:10:19 2005] [error] Can't load Perl file:
/opt/rt3/bin/webmux.pl
for server elmer.rmtc.fedex.com:0, exiting...

I tried to add: 
 $RT::Logger->debug("Checking for User_Overlay, Local, etc\n");
In User.pm... 

I'm running rt 3.4.4 on Fedora Core 4... 

Thanks. 
Don Beethe
dmbeethe at fedex.com



More information about the rt-users mailing list