LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: A couple of questions

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: A couple of questions
From: Mohamed Badri <mohamed@xxxxxxxxxxxx>
Date: Wed, 31 Mar 2004 23:25:23 +0200
> On Tue, Mar 30, 2004 at 02:08:02PM -0600, Randy Paries wrote:
> 
> Question 2::
> Anyone know how to filter out the ldirectord calls in the log file? (via
> httpd.conf)

To filter out some url from access log, define what you want to filter using
SetEnvIf directive :

SetEnvIf Request_URI my_url_to_filter NOLOG

and then desactivate logging with :

CustomLog /var/log/httpd/access_log combined env=!NOLOG

my_url_to_filter can be a regular expression.


---------------------------
http://webmail.netbadri.com
<Prev in Thread] Current Thread [Next in Thread>