ObjectWeb Consortium
Search ObjectWeb Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | architecture List | June 2004 Index

<--  Date Index  --> <--  Thread Index  -->

Re: [architecture] "separation of logging"


Hi Vadim,

Firstly this list is the rigth one for the monolog topic. Indeed Monolog
should concerns many (all ? ;-) ) objectweb projects.

Concerning this interesting topic, the first solution is not a solution
;-) whereas the second is specific to log4j. And for java.util.logging
implementation ? The JNDI variants are interesting. We did the same
thing with fractal components: each fractal component can fetches a
logger which the name is based on the architecture (component path in
the architecture).  The drawback of the JNDI variants is that
applications must be changed.

Of course the RepositorySelector solution is compatible with Monolog.
But the job to create the RepositorySelector will not done by Monolog,
because it depends on the application ant its life cycle.

My opinion is to always use API's like monolog. Behind interfaces, like
LoggerFactory, it would be very easy to implement a mechanism permiting
to isolate the loggers in sub topics (one topics by application). By
this way it possible to choose another isolation condition than the
classloaders. It is more extensible and less specific to a logging
system...

Best regards,
Seb

Le lun 21/06/2004 à 17:59, Vadim Nasardinov a écrit :
> I have a quick general question regarding the architecture of Monolog.
> How does it deal with issues described in "Supporting the log4j
> RepositorySelector in Servlet Containers" by Ceki Gülcü:
> 
> http://www.qos.ch/logging/sc.html
> 
> Thanks,
> Vadim
> 
> 
> P.S. I'm not sure if this is the right list to post Monolog-related
> issues.  The web page http://monolog.objectweb.org/ points to
> http://www.objectweb.org/wws/info/architecture as the mailing list for
> the Monolog project.
> 
> 
> 
> ______________________________________________________________________
-- 
Sebastien Chassande-Barrioz
Ingenieur Recherche et Developpement
France Telecom, Division R&D, Laboratoire ASR
28 chemin du Vieux Chene - B.P. 98
38243 Meylan CEDEX - France
phone: +33 4 76 76 42 10 - fax: +33 4 76 76 45 57
email: sebastien.chassandebarrioz@xxxxxxxxxxxxxxxxxxxx
email: sebastien.chassande-barrioz@xxxxxxxxxx
GSM: 06.73.16.09.32




<--  Date Index  --> <--  Thread Index  -->

Reply via email to:

Powered by MHonArc.

Copyright © 1999-2005, ObjectWeb Consortium | contact | webmaster.