httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joost de Heer" <sang...@xs4all.nl>
Subject [users@httpd] Re: how to prevent logging of proxy requests?
Date Fri, 22 Apr 2005 06:53:57 GMT
Peter Ruprecht said:
>
> Hi,
>
> I'm running apache 2.0.46 on RedHat Enterprise 3, with a normal web site
> and also a proxy server on the same host.  I would like to separate the
> logging of proxy requests from the requests for the web site itself.  If
> there's a way to completely disable logging for proxy requests that would
> be even better.
>
> I have played around a little bit with custom logging but it seems like
> an inelegant way to address what I want to do ... unless of course I
> haven't set it up in a smart way!

Use SetEnvIf to separate the logging. See
http://httpd.apache.org/docs-2.0/mod/mod_log_config.html#customlog at the
end of the CustomLog directive.

Joost


---------------------------------------------------------------------
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