From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CF90E1382C5 for ; Sat, 2 Jan 2021 09:11:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F002DE083D; Sat, 2 Jan 2021 09:11:10 +0000 (UTC) Received: from mail1105c7.megamailservers.com (mail774.megamailservers.com [69.49.98.84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 70198E082D for ; Sat, 2 Jan 2021 09:11:10 +0000 (UTC) X-Authenticated-User: admin@sys-concept.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.com; s=mailtor; t=1609578669; bh=QBhudfu5eMZbuubjebBCItuCr+VaChlWucPQZi1MWJo=; h=To:From:Subject:Date:From; b=W1oAb1+FIkFY+DKrIFx93Linpso68EdAxx7SOi2fKLussrkTMI4Jb9u4Ch2uQiA5J 8+F7sk2xR7aptp0a2/8L1ujIyuONidhcalEdBeBZORcMKJbapLMtpNS8BuRGm8EsKq 41HISkHRey5EQmEu438qc/bnaxeQK1BI5sKCOEnc= Feedback-ID:thelma@sys-conc X-VIP: 69.49.109.100 Received: from [10.0.0.109] 184.69.242.18":"20135 ([184.69.242.18]) (authenticated bits=0) by mail1105c7.megamailservers.com (8.14.9/8.13.1) with ESMTP id 1029B5l9001139 for ; Sat, 2 Jan 2021 04:11:09 -0500 To: Gentoo mailing list From: thelma@sys-concept.com Subject: [gentoo-user] Apache - prevent local ip from log files Message-ID: <624bde18-7322-bb21-3769-2781a357d9de@sys-concept.com> Date: Sat, 2 Jan 2021 02:11:03 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-CA Content-Transfer-Encoding: 7bit X-CTCH-RefID: str=0001.0A742F20.5FF038AD.0021:SCFSTAT54230205,ss=1,re=-4.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: -4.000 X-CTCH-Rules: X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-CSC: 0 X-CHA: v=2.3 cv=bp8y+3Si c=1 sm=1 tr=0 a=u3gW5Uk2xAGXuEgp5FffjQ==:117 a=u3gW5Uk2xAGXuEgp5FffjQ==:17 a=IkcTkHD0fZMA:10 a=RBuFAUFKrM8fTDr0YpEA:9 a=QEXdDO2ut3YA:10 X-VADE-SPAMSTATE: clean X-VADE-SPAMSCORE: 0 X-VADE-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedujedrvddvkedgudefudcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfjqffuvffqrffktedpqfgfvfenuceurghilhhouhhtmecufedttdenucenucfjughrpefvhffukffffgggtgfgsehtjeertddtfeejnecuhfhrohhmpehthhgvlhhmrgesshihshdqtghonhgtvghpthdrtghomhenucggtffrrghtthgvrhhnpeeuvdegkefhvdekheetudfhtdejuddtjeeifeegtedvtddtgeduffefheejveffheenucfkphepudekgedrieelrddvgedvrddukeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpedukeegrdeiledrvdegvddrudekpdhhvghloheplgdutddrtddrtddruddtlegnpdhmrghilhhfrhhomhepthhhvghlmhgrsehshihsqdgtohhntggvphhtrdgtohhmpdhrtghpthhtohepghgvnhhtohhoqdhushgvrheslhhishhtshdrghgvnhhtohhordhorhhg X-Origin-Country: CA X-Archives-Salt: cf528200-413b-4e24-b73e-69ca80858c7f X-Archives-Hash: aece281ef2f85c21b9b28435cf3187dd Trying to prevent local local IP from appearing in log files. I have in modules.d/00_mod_log_config.conf DeflateFilterNote Input instream DeflateFilterNote Output outstream DeflateFilterNote Ratio ratio LogFormat '"%h %l %u %t \"%r\" %{outstream}n/%{instream}n (%{ratio}n%%)' deflate SetEnvIf Remote_Addr "127\.0\.0\.1" dontlog SetEnvIf Remote_Addr "10\.0\.0\.109" dontlog CustomLog /var/log/apache2/access_log common env=!dontlog This setting worked in Apache 2.2 but Apache 2.4 is still logging all my localhost IP's.