Return-Path: Delivered-To: apmail-tcl-websh-dev-archive@tcl.apache.org Received: (qmail 7524 invoked by uid 500); 6 Mar 2002 16:42:24 -0000 Mailing-List: contact websh-dev-help@tcl.apache.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Post: List-Help: List-Unsubscribe: List-Subscribe: Delivered-To: mailing list websh-dev@tcl.apache.org Received: (qmail 7513 invoked from network); 6 Mar 2002 16:42:23 -0000 To: Ronnie Brunner Cc: websh-dev@tcl.apache.org Subject: Re: logToAp vs. interpool References: <87y9h67x2y.fsf@dedasys.com> <20020306163716.C18109@netcetera.ch> From: davidw@dedasys.com (David N. Welton) Date: 06 Mar 2002 17:44:40 +0100 Message-ID: <87r8mxtzlz.fsf@dedasys.com> Lines: 28 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Ronnie Brunner writes: > > logToAp looks to be a pain, if one wants to add more information. > > Is it ok if we just log straight to Apache? That would greatly > > facilitate a couple of the fixme's in this file. > I checked in an extended version of logToAp: it just takes > additional arguments that format the msg string. Doesn't that help? > logToAp(interp, NULL, "hello %s", "World"); It seems to compile, although I didn't think you could do it that way, just passing the 'args' through.... hrm, no I read the docs, and I guess you can. The secondary problem is that we will have to change typedef int (LogPlugInHandler) (Tcl_Interp * interp, ClientData clientData, char *msg); as well as the other LogPlugInHandlers. -- David N. Welton Consulting: http://www.dedasys.com/ Personal: http://www.dedasys.com/davidw/ Free Software: http://www.dedasys.com/freesoftware/ Apache Tcl: http://tcl.apache.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: websh-dev-unsubscribe@tcl.apache.org For additional commands, e-mail: websh-dev-help@tcl.apache.org