Hi

        I represent a younger open source community ( www.objectweb.org). We
would llike choose a logging product for all objectweb project. Log4j is very
interesting, but i would suggest to add a simple functionality. When you write
a program with logs, the name of the category is usually the package name or
the class name. But when many components are assembled, it's impossible to
specify a priority for the component group. I would like give the possibility to
add many names to a category with multiple heritage of priority and appender.

Rules :
I suppose 
        P1, P2, C1 are instance of Category class
with    P1 = father of C1
        P2 = father of C1

The rules to compose are : 
        C1.priority = max( P1.priority, P2.priority )
        C1.appenders = P1.appenders + P2.appenders

Example :
P1 = Category.getInstance("aaa.bbb")
P2 = Category.getInstance("zzz.yyy")
C1 = Category.getInstance("aaa.bbb.ccc")
C1.addName("zzz.yyy.xxx");
=> The C1 Category herits of priority of P1 and P2
=> The C1 Category herits of appender of P1 and P2

Is this problem already studied by a log4j developper ?


Best regards

Seb
-- 
Chassande-Barrioz Sebastien
Engineer - INRIALPES - SIRAC/SACRES Team
Mail job : [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to