logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ceki Gülcü <...@qos.ch>
Subject Re: Request
Date Tue, 24 Jul 2001 20:18:34 GMT
At 11:55 24.07.2001 +0200, Chassande-Barrioz Sebastien wrote:
>I previously send to a request for a modification in Catagory class. I'm 
>afraid that I didn't explain enough our problem. We want to extend the 
>Category class as it's described in your documentation. The aim of our 
>extension is to add an interface to the Category Class. To do it, I wrote 
>- a MyCategory class that extends the Category class and implements our 
>- a MyCategoryFactory that implements the CategoryFactory
>Indeed we would like to keep a log4j standard package, and provide a wrapper 
>between our interface and the log4j product. So I have the following problems:
>1/ When I configure the rootcategory in the properties file, all children 
>(all MyCategory instances) don't inherit the rootCategory properties( 
>Appender list, Priority). Can you say us why there is no inheritance 
>between the rootCategory and our MyCategory ?

There should be inheritance between the root category and custom category classes. 

>2/ During tests I noticed that our extension isn't used for the root 
>Category. Indeed the type of the root category is chosen by a constant 
>defined into the Category class. Is it possible to change the instance of the 
>rootCatgory ?
>I don't know if the first problem is an effect of the second problem.

I think so. If you have 1/ then you do not need 2/. Regards, Ceki

Ceki Gülcü - http://qos.ch

To unsubscribe, e-mail: log4j-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-dev-help@jakarta.apache.org

View raw message