Re: [mod_rewrite] How to *not* log certain rules?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 

 On Tue 23/08/11 13:38 , "Hilco Wijbenga" hilco.wijbenga@xxxxxxxxx sent:
 On 23 August 2011 13:13, Jeroen Geilman  wrote:
 > On 2011-08-23 20:30, Hilco Wijbenga wrote:
 >>
 >> Hi all,
 >>
 >> I have Vuze (bittorrent) running which sends out /announce and /scrape
 >> requests every 10 seconds or so. I managed to avoid logging them in
 >> the regular logs using
 >>
 >> SetEnvIf Request_URI "^/announce|/scrape$" do-not-log
 >> CustomLog /var/log/apache2/access.log common env=!do-not-log
 >>
 >>  but they still show up in my rewrite.log.
 >
 > So disable the rewritelog.

 That's throwing out the baby with the bath water. I need the rewrite log.

 > It's meant for debugging purposes, not to run on a production system.

 :-) Do you really think I've got Vuze running on a production server?
 :-) This is my local workstation. Debugging is really hard with all
 these useless requests littering the logs. I suppose I'll just have to
 kill Vuzecat  | grep -v -e '/announce' -e '/scrape' |  ???Plenty of ways
to filter out junk before inspection instead of trying valiantly to prevent
the cruft from appearing in the first place...hugh

Links:
------
[1] http://httpd.apache.org/userslist.html%26gt%3B
[2] http://httpd.apache.org/userslist.html%26gt%3B
[3] http://httpd.apache.org/userslist.html%26gt%3B
[4] http://httpd.apache.org/userslist.html%26gt%3B
[5] http://httpd.apache.org/userslist.html%26gt%3B
[6] http://httpd.apache.org/userslist.html%26gt%3B
[7] http://httpd.apache.org/userslist.html%26gt%3B

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux