Hi Vincent!

Vincent Massol wrote:
> S4- Write a facade for Log4j (already written) and do not make use of any
> Log4j call directly. Use reflection instead so that it would compile even if
> the log4j jar is not in the classpath. Provide in the facade code a noop
> implementation of log4j so that at runtime the log statements in the code
> would simply do nothing ... For normal users, they have nothing to do and
> for users who want logging they'll have to provide a log4j jar. Hum .... I
> could also remove the log configuration properties file by putting them in
> the commons-cactus.jar file and simply add a property to the existing
> cactus.properties file like : "debug = yes | no"
> 
> Tell me what you think !

Without any doubt, S4.

Un saludo,

Alex.

Reply via email to