"ataylor" wrote : currently Logger is a concrete class. I was thinking of making
this an interface and adding a LoggerFactory class for instantiation. Then provide 2
implementations the one we have, currently jboss logging, and a new one which just uses
java.util.Logger. The factory would use the jboss one if it was on the classpath and if
not fallback to the jdk one. I could also add asys pref check as well.
The idea with logging in JBM 2.0 was to always use java.util.Logger so we don't pull
in any other dependencies.
Then, if someone wants to use log4j or jboss logging, they can provide an
"adapter" (I believe JUL logging allows this) which can be configured at run
time to be used.
We could provide adapters for jboss logging and log4j
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187618#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...