At 10:12 PM 2/13/2007, Eric Crahen wrote: >I don't understand your concern about reliance on the thread context class >loader. The ServiceLoader mechanism is a well established method for doing >this reliably. This happens all over the JDK, from character sets, to >encryption schemes. It works very well and gives you a much cleaner >separation.
The SLF4J approach is pretty dumb but it is also easy to follow when things go awry. Not relying on class loader machinery is one the hard-earned lessons from JCL. Admittedly though, I am not that familiar with the ServiceLoader mechanism so I'll have a closer look at it. -- Ceki Gülcü Logback: The reliable, generic, fast and flexible logging framework for Java. http://logback.qos.ch _______________________________________________ dev mailing list dev@slf4j.org http://www.slf4j.org/mailman/listinfo/dev