In <p0433010db7342937adee@[192.168.1.2]>, Roger Bull <[EMAIL PROTECTED]> writes:
>         Here is a sample logfile line from one of the banner calls
> that I would prefer not to log at all:
> 
> 61.135.90.13 - - [20/May/2001:02:04:08 -0500] "GET
> 
>/cgi-bin/advertpro/plugins/affiliate/banners.fpl?region=72&affID=Zif1eZdX&refresh=&bust=317670&keyword=NULL
> HTTP/1.1" 200 444
> 
>         If anyone can tell me how to prevent Apache from logging
> these banner calls I would really appreciate it.  It might solve my
> problem.

SetEnvIfNocase Request_URI "^/cgi-bin/advertpro/plugins/affiliate/banners.fpl" 
banner-call
CustomLog yourlogfile combined env=!banner-call
(see the Apache documentation for details)

> Also I probably need to somehow process these files to
> remove these lines if that is possible.  Any suggestions on this?

cat oldlog | grep -v GET../cgi-bin/advertpro/plugins/affiliate/banners.fpl >newlog

-- 
Klaus Johannes Rusch
[EMAIL PROTECTED]
http://www.atmedia.net/KlausRusch/
+------------------------------------------------------------------------
|  This is the analog-help mailing list. To unsubscribe from this
|  mailing list, go to
|    http://lists.isite.net/listgate/analog-help/unsubscribe.html
|
|  List archives are available at
|    http://www.mail-archive.com/[email protected]/
|    http://lists.isite.net/listgate/analog-help/archives/
|    http://www.tallylist.com/archives/index.cfm/mlist.7
+------------------------------------------------------------------------

Reply via email to