Re: Logging in XMLC using log4j

Mark Diekhans <[email protected]>
Newsgroups gmane.comp.java.enhydra.xmlc
Message-ID <[email protected]>
Sinisa Milosevic <[email protected]> writes:
> Last days Enhydra team works on integration XMLC 2.2 into Enhydra
> 5.1. Enhydra 5.1 uses log4j for logging, but XMLC has its own logger
> class. 

Technically, XMLC doesn't have a logger, just an abstraction around other 
loggers.

> We want to integrate xmlc logging to use log4j, too. Our idea is
> adding one or two classes to implement XMLCLogger class (to use log4j
> Logger). 
> Also, our goal is to include xmlc 2.2 without any changes into
> Enhydra 5.1 final, so it would be great if those classes would be a part of
> xmlc project. What's your opinion? We can prepare for you, something like we
> want to have in Enhydra....

There is no particular reason this class has to be part of the XMLC package,
which will avoid enhydra waiting on xmlc to include it and avoid creating
a dependency on log4j in xmlc.  This will also allow customizing this logging
to enhydra's needs.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.