On 4/5/02 7:00 PM, "Craig R. McClanahan" <[EMAIL PROTECTED]> wrote:
> > > On Fri, 5 Apr 2002, Geir Magnusson Jr. wrote: > >> Date: Fri, 05 Apr 2002 18:52:21 -0500 >> From: Geir Magnusson Jr. <[EMAIL PROTECTED]> >> Reply-To: Jakarta Commons Developers List <[EMAIL PROTECTED]> >> To: Jakarta Commons Developers List <[EMAIL PROTECTED]> >> Subject: Re: [logging] Need interface... VOTE >> >> On 4/5/02 6:09 PM, "Craig R. McClanahan" <[EMAIL PROTECTED]> wrote: >> >>> >>> >>> On Fri, 5 Apr 2002, Geir Magnusson Jr. wrote: >>> >>>> >>>> I looked for docs on how to setup the web.xml for tc4 to specify my ctx >>>> factory, but didn't find them when I looked. I assume they are there >>>> somewhere? >>>> >>> >>> Short answer: You don't configure the factory in web.xml -- that goes in >>> server.xml. See the jndi-resource-howto.html page for the details. >>> >>> Longer answer (assuming you really want a LogFactory instead, which is >>> more likely, but the concepts are all the same): >>> >> >> [SNIP] >> >> Thx! This is great. >> > > You will note that this approach requires no changes to the current > commons-logging code -- it just ignores the static methods you don't like, You too? Sheesh. It's not that I don't like the static methods - I *love* your static methods. I adore them! I adore them so much, I want to write an implementation of LogFactory myself for a new kind of logger I have. Can I do that and use it with commons-logging package? -- Geir Magnusson Jr. [EMAIL PROTECTED] System and Software Consulting Java : the speed of Smalltalk with the simple elegance of C++... -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
