Re: redirecting log to screen

[prev] [thread] [next] [Date index for 2004/11/30]

From: Stas Bekman
Subject: Re: redirecting log to screen
Date: 15:34 on 30 Nov 2004
Marc Lambrichs wrote:
> I've written a utility module that uses a $r->log object to log my 
> request using  my own debug, info, notice etc. methods. Instead of 
> writing to a log file, I want to redirect all log messages to the client 
> for a specific module that uses this log utility. What's the best way to
> arrange this?

You aren't saying whether you use mp1 or mp2. for example subclass the 
class $r->log is blessed into and send the output elsewhere.

        -- 
        __________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@xxxxxx.xxx http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

redirecting log to screen
Marc Lambrichs 03:04 on 30 Nov 2004

Re: redirecting log to screen
Stas Bekman 15:34 on 30 Nov 2004

Re: redirecting log to screen
Stas Bekman 17:37 on 30 Nov 2004

Generated at 11:26 on 21 Dec 2004 by mariachi v0.52