You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Joao Miguel Sa <jm...@student.dei.uc.pt> on 2000/03/21 15:21:38 UTC

Partial logs

Hello,

I need to log only requests to a directory.
What I want to do is something like that

(for each request)

<Perl>
  if(request a file in defined_dir) {
     Log this
  }
</Perl>

Is this the right way?
How can I do that?

Thanks In Advance

Joao Sa


Re: Partial logs

Posted by "G.W. Haywood" <ge...@jubileegroup.co.uk>.
Hi there,

On Tue, 21 Mar 2000, Joao Miguel Sa wrote:

> I need to log only requests to a directory.

You could install a PerlLogHandler - see Eagle Book, page 78.

73,
Ged.