Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@apache.org Received: (qmail 76622 invoked from network); 19 Dec 2001 20:16:32 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 19 Dec 2001 20:16:32 -0000 Received: (qmail 19216 invoked by uid 97); 19 Dec 2001 20:16:33 -0000 Delivered-To: qmlist-jakarta-archive-commons-dev@jakarta.apache.org Received: (qmail 19200 invoked by uid 97); 19 Dec 2001 20:16:33 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 19189 invoked from network); 19 Dec 2001 20:16:32 -0000 Date: Wed, 19 Dec 2001 20:17:16 +0000 Subject: Re: [BETWIXT] some changes Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v475) From: robert burrell donkin To: "Jakarta Commons Developers List" Content-Transfer-Encoding: 7bit In-Reply-To: <091b01c183d2$383765d0$9865fea9@spiritsoft.com> Message-Id: <658D25AE-F4BD-11D5-8266-003065DC754C@mac.com> X-Mailer: Apple Mail (2.475) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Thursday, December 13, 2001, at 12:32 PM, James Strachan wrote: > Hi Robert hi james > ----- Original Message ----- > From: "robert burrell donkin" >> 2. add a very simple logging method (probably just a log(String) method >> in >> the introspector with a debug property printing to standard out). this >> can >> be replaced by a more comprehensive system later. > > Agreed. It'd probably be worth using the commons-logging package; it looks > pretty good and simple and would work with log4j or JDK1.4. commons-logging looks pretty good. it's got some annoying bugs but i don't think that it'll take much to fix them. i've added support for logging to commons-logging to BeanWriter and XMLIntrospector. the logs are named according to their fully packaged class name (eg org.apache.commons.betwixt.BeanWriter). i haven't added lots of calls to logging - this just puts the infrastructure in place. i'll look at that cyclic reference bug fix next. - robert -- To unsubscribe, e-mail: For additional commands, e-mail: