[rt-users] Problem with RT::Logger

Ruslan Zakirov ruz at bestpractical.com
Mon Oct 22 21:59:37 EDT 2007


Most probably you're calling methods on $RT::Logger when it's not
initialized, for example during loading of modules.

On 10/22/07, Lamers, Dan <dlamers at elcan.com> wrote:
>
>
>
>
> I had a working RT system up until this morning when it appears that
> RT::Logger stopped functioning.  Last week I upgraded from 3.6.4 to 3.6.5
> and everything appeared to work fine.  I shutdown the system for the weekend
> and this morning I'm receiving a "500 Internal Server Error" when trying to
> logon.
>
>
>
> My apache2/errorlog entry is:
>    Can't call method "debug" on an undefined value at
> /opt/rt3/local/lib/RT/CurrentUser_Local.pm line 59
>
>
>
> The relevant perl line is"
>
>   $RT::Logger->debug( "CreateFromExternalUserInfo: entered with args: ",
> @lookupargs, "\n");
>
>
>
>
>
> If I comment this line from the program, it proceeds to fail on the next
> RT::Logger statement including RT::Logger->info calls.  If I comment out all
> of the RT::Logger calls from this program, the system appears to function
> normally.
>
>
>
> Any help would be greatly appreciated!
>
>
>
> Thanks,
>
> Dan
>
>
>
> DISCLAIMER: The information in this message is confidential and may be
> legally privileged. It is intended solely for the addressee. Access to this
> message by anyone else is unauthorized. If you are not the intended
> recipient, any disclosure, copying, or distribution of the message, or any
> action or omission taken by you in reliance on it, is prohibited and may be
> unlawful. Please immediately contact the sender if you have received this
> message in error. Thank you.
>
>
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
>


-- 
Best regards, Ruslan.



More information about the rt-users mailing list