Received: (from majordom@localhost) by hyperreal.org (8.8.5/8.8.5) id OAA27974; Sun, 27 Jul 1997 14:43:20 -0700 (PDT) Received: from sierra.zyzzyva.com (ppp0-sierra.zyzzyva.com [208.214.59.46]) by hyperreal.org (8.8.5/8.8.5) with ESMTP id OAA27968 for ; Sun, 27 Jul 1997 14:43:16 -0700 (PDT) Received: from sierra (localhost [127.0.0.1]) by sierra.zyzzyva.com (8.8.5/8.8.2) with ESMTP id QAA14521 for ; Sun, 27 Jul 1997 16:43:57 -0500 (CDT) Message-Id: <199707272143.QAA14521@sierra.zyzzyva.com> X-Mailer: exmh version 2.0delta 6/3/97 To: new-httpd@apache.org Subject: Re: [PATCH] loglevels final? In-reply-to: brian's message of Sun, 27 Jul 1997 14:30:04 -0700. <3.0.3.32.19970727143004.0080e4b0@localhost> X-uri: http://www.zyzzyva.com/ Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 27 Jul 1997 16:43:57 -0500 From: Randy Terbush Sender: new-httpd-owner@apache.org Precedence: bulk Reply-To: new-httpd@apache.org > At 04:07 PM 7/27/97 -0500, Randy wrote: > >We could just pass these into a variable argument list, but one of > >the motivations of this change is to get some control over the > >format of the error message. Perhaps someone here knows a way to > >get __FILE__, __LINE__ from the calling function, but I don't. > > Make aplog_error a macro? i.e. > > #define aplog_error(a,b,c) aplog_err(__FILE__, __LINE__, a,b,c) > > but then we couldn't deal with varargs... > > Brian I considered this, but the variable argument list is absolutely necessary to replace existing logging functions with one function.