directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Niclas Hedhman <nic...@hedhman.org>
Subject Re: upgrading to nlog4j.1.2.17
Date Tue, 11 Oct 2005 05:33:35 GMT
On Monday 10 October 2005 21:37, Nick Faiz wrote:
> Given the constraint that it is now an either/or scenario between  
> log4j and nlog4j, if ApacheDS were to be embedded in an existing  
> log4j application, the log4j jar would have to be removed

IMHO, it is getting more and more apparent that "libraries" and apps expected 
to get embedded to not depend on external logging frameworks in their code.

Instead, create an ApacheDS specific, LoggerFactory and Logger instance that 
is used throughout the Apache code. The LoggerFactory for standalone mode, 
can default to Log4J if you like to, but it should allow for embeddors to 
replace with their own provider.

Think IoC :o) 
"If it is not provided to you, you can't use it."

Cheers
Niclas

Mime
View raw message