[rt-users] Problem with debug logging

Ruslan Zakirov ruslan.zakirov at gmail.com
Thu Nov 3 02:33:37 EST 2005


On 11/2/05, Don Beethe <dmbeethe at fedex.com> wrote:
> Tried to add some logging to debug what is going on and when I restart
> apache it fails and the error_log shows:
[snip]
>
> I tried to add:
>  $RT::Logger->debug("Checking for User_Overlay, Local, etc\n");
> In User.pm...
You can't use $RT::Logger when it's not defined. When RT starts and
loads modules logger object is not initialized yet.

>
> I'm running rt 3.4.4 on Fedora Core 4...
>
> Thanks.
> Don Beethe
> dmbeethe at fedex.com
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Be sure to check out the RT Wiki at http://wiki.bestpractical.com
>
> Buy your copy of our new book, RT Essentials, today!
>
> Download a free sample chapter from http://rtbook.bestpractical.com
>


--
Best regards, Ruslan.



More information about the rt-users mailing list