From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17845 invoked by alias); 17 Dec 2007 20:05:07 -0000 Received: (qmail 17835 invoked by uid 22791); 17 Dec 2007 20:05:06 -0000 X-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,DK_POLICY_SIGNSOME,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 17 Dec 2007 20:04:57 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.1) with ESMTP id lBHK4u8P002989 for ; Mon, 17 Dec 2007 15:04:56 -0500 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [10.11.255.20]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id lBHK4tIb017867 for ; Mon, 17 Dec 2007 15:04:55 -0500 Received: from dhcp-10-15-16-120.yyz.redhat.com (sebastian-int.corp.redhat.com [172.16.52.221]) by pobox.corp.redhat.com (8.13.1/8.13.1) with ESMTP id lBHK4tUJ024325 for ; Mon, 17 Dec 2007 15:04:55 -0500 Message-ID: <4766D650.6080102@redhat.com> Date: Mon, 17 Dec 2007 20:05:00 -0000 From: Andrew Cagney User-Agent: Thunderbird 2.0.0.9 (X11/20071115) MIME-Version: 1.0 To: frysk Subject: Re: a simpler logger [?] References: <475976DF.6070302@redhat.com> In-Reply-To: <475976DF.6070302@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.58 on 172.16.52.254 X-IsSubscribed: yes Mailing-List: contact frysk-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: frysk-owner@sourceware.org X-SW-Source: 2007-q4/txt/msg00226.txt.bz2 FYI, I've marked up frysk.expunit to use this logger (so people can see it working). Enable it with something like: ./TestRunner -trace FINE frysk.hpd.TestLoadCommand or: ./TtestRunner -trace frysk.expunit=FINEST frysk.hpd.TestLoadCommand Andrew Andrew Cagney wrote: > Hi, > > I've just added a frysk.rsl (really simple logger?) package as a > possible alternative to the java logging framework we're currently > using. The "advantages" as I'll spin them are: > > -> the logging call is unlocked (at least in the logger level) > so the ongoing saga of older log implementations deadlocking is avoided > > -> nested logging works > > -> it supports a completer interface > so that << (fhpd) frysk log frysk.proc. >> can give a known list > of loggers > > -> [I think] the call interface is simpler and lighter > for instance << log.fine(this, "adding foo") >> or << log.fine(this, > "adding foo=", foo); >> (we can add more methods as we need them :-) > > thoughts? > > Andrew >