Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Looking for mod_perl docs on writing logfile handler.

by Sihal (Pilgrim)
on Jul 29, 2003 at 13:46 UTC ( [id://278824]=perlquestion: print w/replies, xml ) Need Help??

Sihal has asked for the wisdom of the Perl Monks concerning the following question:

Fellow monks,

I understand that with a Perl*Handler I can intervene at any stage of Apache's processing of my request.
But, not being very familiar with the Apache's callback hooks mechanism, and not being that much familiar with Perl*Handlers, I don't know how to do the simple following thing: writing my own log with a PerlHanlder instead of letting Apache do it. (Or injecting aditionnal info in the logs that Apache generates, like the value of an environement variable.)

If somebody could point me some links to a good explanation of this aspect of mod_perl, I'd be very glad. (the mod_perl documentation at perl.apache.org isn't helping, or maybe it's just me. )
Sihal

20030730 Edit by jeffa: Changed title from 'mod_perl : where can I find some doc about....'

  • Comment on Looking for mod_perl docs on writing logfile handler.

Replies are listed 'Best First'.
Re: Looking for mod_perl docs on writing logfile handler
by derby (Abbot) on Jul 29, 2003 at 14:39 UTC
      I do customise Apache's log. But I want to pass an env variable into the log, with isn't possible from CGI.

      Thanks for the online books links I wasn't aware they could be on the net. :-)
      Thanks a loot for the links, they contain all I needed :-)
(jeffa) Re: Looking for mod_perl docs on writing logfile handler
by jeffa (Bishop) on Jul 29, 2003 at 14:15 UTC
      Well I'd rather not use any books (not that I don't like reading but the company won't buy them).
      I'll have a look at Apache::LogFile thanx, but I think I already peered into it.
Re: Looking for mod_perl docs on writing logfile handler
by edoc (Chaplain) on Jul 29, 2003 at 14:18 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://278824]
Approved by fglock
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (3)
As of 2025-02-07 14:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which URL do you most often use to access this site?












    Results (94 votes). Check out past polls.