> Do you know how you switch the LogFactory impl?  I am 
> guessing there is a 
> system property, but I did not see anything obvious by looking at the 
> javadocs.

I've been using commons logging for a few months now - not bad at all..
You drive the impl from a properties file called commons-logging, like
so:

org.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog

If you put in log4j, just put the log4j properties or xml file in the
classpath so log4j can initialize when needed. The nice thing about
using this API is that they have done the factory work for you, allowing
jboss clients to use the simplelog they provide, a null log, jdk1.4
(ugh), or whatever. Sure, you have that abstraction, but do you really
want to do the simple factory work? Probably not, as you guys have more
important things to do ;)

James


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to