Geoffrey Young wrote:


Stas Bekman wrote:

Currently we have quite a mess with various ways one can do logging in mp2. This thread started to tackle this issue, but we really have to decide what we support and what not and cut the unwanted methods early.
http://marc.theaimsgroup.com/?l=apache-modperl-dev&m=102456650614151&w=2


let's just follow the apache api here. so you have what, $r->log_error, $r->log->warn|error|etc and $r->server->log variants, right?

Apache::Log has an incomplete, but pretty good manpage. It covers all the available methods:
http://perl.apache.org/docs/2.0/api/Apache/Log.html


I don't know that Apache->warn adds value when what you really want to enforce is logging through the server object when you don't have a request object.

may be we should go back to the mp1 Changes/cvs logs and see why they were added in first place?


__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to