httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <jos...@slive.ca>
Subject Re: [users@httpd] Logging per directory
Date Tue, 04 Apr 2006 13:34:48 GMT
On 4/4/06, Boyle Owen <Owen.Boyle@swx.com> wrote:
> > -----Original Message-----
> > From: john [mailto:isofroni@cc.uoi.gr]
> > Sent: Dienstag, 4. April 2006 12:30
> > To: users@httpd.apache.org
> > Subject: [users@httpd] Logging per directory
> >
> > Is any way to log accesses per directory ?
>
> AFAIK, no. TransferLog has "Context:    server config, virtual host" (see http://httpd.apache.org/docs/2.2/mod/mod_log_config.html#transferlog)

Right.  But you can use conditional logging to set an env variable per
directory and direct the log based on this variable.  It wouldn't be
pretty.  You are better off post-processing your logs to split them as
you like.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message