Re: No log() in Apache2::RequestRec?

2007-12-14 Thread Colin Wetherbee
Fred Moyer wrote: Colin Wetherbee wrote: [Fri Dec 14 23:57:52 2007] [error] [client 192.168.171.80] Can't locate object method "log" via package "Apache2::RequestRec" at /home/cww/sites/js.iron.denterprises.org/htdocs/jet-set/JetSet/Debug.pm line 33.\n use Apache2::Log (); should take care

Re: No log() in Apache2::RequestRec?

2007-12-14 Thread Fred Moyer
Colin Wetherbee wrote: Based on some documentation I read [0] [1], I am trying to use the following function to write messages to my virtual host's error log. 30 sub Debug(@) 31 { 32 my $r = Apache2::RequestUtil->request; 33 $r->log->debug(@_); 34 } I have tried several variations of this,

No log() in Apache2::RequestRec?

2007-12-14 Thread Colin Wetherbee
Based on some documentation I read [0] [1], I am trying to use the following function to write messages to my virtual host's error log. 30 sub Debug(@) 31 { 32 my $r = Apache2::RequestUtil->request; 33 $r->log->debug(@_); 34 } I have tried several variations of this, restarting the server a