Return-Path: X-Original-To: apmail-httpd-users-archive@www.apache.org Delivered-To: apmail-httpd-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7AA1F7A3B for ; Tue, 23 Aug 2011 20:39:08 +0000 (UTC) Received: (qmail 9063 invoked by uid 500); 23 Aug 2011 20:39:05 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 8998 invoked by uid 500); 23 Aug 2011 20:39:04 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 8990 invoked by uid 99); 23 Aug 2011 20:39:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Aug 2011 20:39:04 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of hilco.wijbenga@gmail.com designates 209.85.161.173 as permitted sender) Received: from [209.85.161.173] (HELO mail-gx0-f173.google.com) (209.85.161.173) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Aug 2011 20:38:58 +0000 Received: by gxk26 with SMTP id 26so468144gxk.18 for ; Tue, 23 Aug 2011 13:38:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=3qKIt3zqHl48qddk1qTdz950DqxiPAi0nx+vSIuFFGg=; b=sbkVht20MGmBPYbTcpUyeX5eVqlgRrtp65lCvCoDTotYPGpMyZLGq7r8yXSmDNWIR5 qfMG1N2Y6ePFqbLltg2IrjydtQGjtIEFDabQ/2oNqGPXv+xeCRwv50Nh+OhAXcSFQ9vp yyAnwRUpw7sI6NJOyDk6Xz1QLhFHYYc4fpiDc= MIME-Version: 1.0 Received: by 10.236.9.36 with SMTP id 24mr26742817yhs.17.1314131917332; Tue, 23 Aug 2011 13:38:37 -0700 (PDT) Received: by 10.236.207.67 with HTTP; Tue, 23 Aug 2011 13:38:37 -0700 (PDT) In-Reply-To: <4E5409E7.8020209@adaptr.nl> References: <4E5409E7.8020209@adaptr.nl> Date: Tue, 23 Aug 2011 13:38:37 -0700 Message-ID: From: Hilco Wijbenga To: users@httpd.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] [mod_rewrite] How to *not* log certain rules? 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=3D!do-not-log >> >> =C2=A0but 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 Vuze. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See 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