From mboxrd@z Thu Jan 1 00:00:00 1970 Delivered-To: chneukirchen@gmail.com Received: by 10.204.72.79 with SMTP id l15cs774651bkj; Thu, 13 Aug 2009 09:26:25 -0700 (PDT) Received-SPF: pass (google.com: domain of grbounce-ceibQwUAAAB4YPBqaDIjI2bFOCxyyh3G=chneukirchen=gmail.com@googlegroups.com designates 10.114.148.1 as permitted sender) client-ip=10.114.148.1; Authentication-Results: mr.google.com; spf=pass (google.com: domain of grbounce-ceibQwUAAAB4YPBqaDIjI2bFOCxyyh3G=chneukirchen=gmail.com@googlegroups.com designates 10.114.148.1 as permitted sender) smtp.mail=grbounce-ceibQwUAAAB4YPBqaDIjI2bFOCxyyh3G=chneukirchen=gmail.com@googlegroups.com; dkim=pass header.i=grbounce-ceibQwUAAAB4YPBqaDIjI2bFOCxyyh3G=chneukirchen=gmail.com@googlegroups.com Received: from mr.google.com ([10.114.148.1]) by 10.114.148.1 with SMTP id v1mr382135wad.28.1250180783757 (num_hops = 1); Thu, 13 Aug 2009 09:26:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=domainkey-signature:received:received:x-sender:x-apparently-to :received:received:received-spf:authentication-results:received :mime-version:received:in-reply-to:references:date:message-id :subject:from:to:content-type:content-transfer-encoding:reply-to :sender:precedence:x-google-loop:mailing-list:list-id:list-post :list-help:list-unsubscribe:x-beenthere-env:x-beenthere; bh=VBD8uNcXF2zSoZCuDuDglC7/Zoj8M8XR2dAqz0Ryk90=; b=pz99w58vMN6y3g5pigydKJ7GGpDeMPgYDBNaT3jVHuMdTfxztygtBS08uYTCQmHgqT LVWwLr8tksPBxjbgP8fJBMbcjvbG3mWluPgZM5+1Fv8CKyQ0y52FD6G+RgEkHlBGorQa qya2P5XMnos8SMkNBwXtHHgkc3f4Ya5+uBuuY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlegroups.com; s=beta; h=x-sender:x-apparently-to:received-spf:authentication-results :mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding:reply-to:sender:precedence :x-google-loop:mailing-list:list-id:list-post:list-help :list-unsubscribe:x-beenthere-env:x-beenthere; b=AGPcSNxJORySEkddENzYwGqBibPU8561ghws4r32PPDlZuxJAY799ULTM4rk1t4vvu bWKunWGy1MVgI66D5oUAylwjMllKneJXs0OCOZYdMyRJT2c88PohqHEr+KZeVbHlFzmA Up0x0mNz3ZWSw3+aByI1lMALd++u8681M3Efs= Received: by 10.114.148.1 with SMTP id v1mr65055wad.28.1250180783398; Thu, 13 Aug 2009 09:26:23 -0700 (PDT) Received: by 10.106.63.16 with SMTP id l16gr1574pra.0; Thu, 13 Aug 2009 09:26:17 -0700 (PDT) X-Sender: jeremy@bitsweat.net X-Apparently-To: rack-devel@googlegroups.com Received: by 10.150.132.17 with SMTP id f17mr351258ybd.14.1250180775404; Thu, 13 Aug 2009 09:26:15 -0700 (PDT) Return-Path: Received: from mail-yw0-f174.google.com (mail-yw0-f174.google.com [209.85.211.174]) by gmr-mx.google.com with ESMTP id 24si28936ywh.3.2009.08.13.09.26.15; Thu, 13 Aug 2009 09:26:15 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.211.174 is neither permitted nor denied by best guess record for domain of jeremy@bitsweat.net) client-ip=209.85.211.174; Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 209.85.211.174 is neither permitted nor denied by best guess record for domain of jeremy@bitsweat.net) smtp.mail=jeremy@bitsweat.net Received: by mail-yw0-f174.google.com with SMTP id 4so1127418ywh.17 for ; Thu, 13 Aug 2009 09:26:15 -0700 (PDT) MIME-Version: 1.0 Received: by 10.150.46.4 with SMTP id t4mr1568761ybt.293.1250180775294; Thu, 13 Aug 2009 09:26:15 -0700 (PDT) In-Reply-To: <69a2885c0908130918t16ad43f5pe6d13086a4afb330@mail.gmail.com> References: <69a2885c0904290803j292d2c45j5a46d0e759b6272a@mail.gmail.com> <69a2885c0905131852h2ee62731o72337bec5490742e@mail.gmail.com> <2a8d4a710905132214s1cb24b4brea19d6f684be20c7@mail.gmail.com> <1c5622660905140728i3c162e1erf2e3058f79c80357@mail.gmail.com> <20090812011427.GA4737@dcvr.yhbt.net> <20090812023813.GA5916@dcvr.yhbt.net> <69a2885c0908121456w41348d4cjff273bbbed958fe3@mail.gmail.com> <69a2885c0908130918t16ad43f5pe6d13086a4afb330@mail.gmail.com> Date: Thu, 13 Aug 2009 11:26:15 -0500 Message-ID: <69a2885c0908130926k5b1d5a84g85428c205ec3b082@mail.gmail.com> Subject: Re: Downsizing CommonLogger From: Jeremy Kemper To: rack-devel@googlegroups.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Reply-To: rack-devel@googlegroups.com Sender: rack-devel@googlegroups.com Precedence: bulk X-Google-Loop: groups Mailing-List: list rack-devel@googlegroups.com; contact rack-devel+owner@googlegroups.com List-Id: List-Post: List-Help: List-Unsubscribe: , X-BeenThere-Env: rack-devel@googlegroups.com X-BeenThere: rack-devel@googlegroups.com On Thu, Aug 13, 2009 at 11:18 AM, Jeremy Kemper wrote: > On Thu, Aug 13, 2009 at 5:14 AM, Christian > Neukirchen wrote: >> >> Jeremy Kemper writes: >> >>> CommonLogger's concern >>> is logging the request, not calculating content length edge cases >> >> The CLF includes the real response size, though. =A0It should be correct >> if you want to do traffic analysis with the existing tools. > > There is no standard "real" size. Most log the size of the entity body > as represented by Content-Length. Some include HTTP header size. Few > actually record the number of bytes sent to the client (mog_logio for > apache does). (nginx's http logger does, too.) jeremy