From dev-return-49656-apmail-httpd-dev-archive=httpd.apache.org@httpd.apache.org Thu Oct 06 19:49:51 2005 Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 34840 invoked from network); 6 Oct 2005 19:49:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Oct 2005 19:49:50 -0000 Received: (qmail 89819 invoked by uid 500); 6 Oct 2005 19:49:46 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 89763 invoked by uid 500); 6 Oct 2005 19:49:46 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 89752 invoked by uid 99); 6 Oct 2005 19:49:45 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Oct 2005 12:49:45 -0700 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=DNS_FROM_RFC_POST X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [64.236.25.90] (HELO cnnimail33.turner.com) (64.236.25.90) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Oct 2005 12:49:48 -0700 Received: from turner.com (10.165.244.17) by cnnimail33.turner.com with ESMTP; 06 Oct 2005 15:49:19 -0400 Received: from [10.188.50.126] (GN2Y011-udp05122128uds.turner.com [10.188.50.126]) by web.turner.com (8.12.9/8.12.9) with ESMTP id j96JnelX028891 for ; Thu, 6 Oct 2005 15:49:42 -0400 (EDT) Message-ID: <43457FB6.7050703@turner.com> Date: Thu, 06 Oct 2005 15:49:10 -0400 From: Brian Akins User-Agent: Mozilla Thunderbird 1.0.6 (Macintosh/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@httpd.apache.org Subject: Re: [PATCH] Re: Pluggable mod_log_config References: <434150EB.2080007@turner.com> <20051003222814.GA7331@stdlib.net> <1128430780.9550.9.camel@localhost.localdomain> <20051004130603.GA21899@stdlib.net> <7edfeeef0510040825m29390e69o1d04809d272206f3@mail.gmail.com> <434567A0.8030405@web.turner.com> <20051006190402.GA5837@stdlib.net> In-Reply-To: <20051006190402.GA5837@stdlib.net> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Colm MacCarthaigh wrote: > If httpd writes a complete line, to any kind of a file descriptor, > anything beyond that is out of our control and becomes a question of the > quality of the piped logger, filesystem or whatever else is on the other > side of that file-descriptor. Maybe I'm just being difficult, but I'm still not sold on it :) While I understand all that you wrote, the possibilities of getting "partial line" with normal piped logs irks me. Maybe it's just a personal thing... I prefer to have something like: length of message, message, sync bit (message could be many log lines) That way it's easy to ensure you get complete log entries and detect when you don't. I could write a piped logger that did this, but I'd have to detect when the lines begin and end and mod_log_config already knows that. Yes, for 90+% of the time, piped logs are great. -- Brian Akins Lead Systems Engineer CNN Internet Technologies