Max Rydahl Andersen wrote:
On Mon, 05 May 2008 20:12:29 +0200, Ales Justin
<ales.justin(a)gmail.com> wrote:
> Weird that you have to modify some class, StaticLoggerBinder.
>
> What you could do is just add a System property which would take a list
> of possible new impls, and the check if they exist on the classpath via
> reflection, taking the first one existing.
This is exactly why commons-logging was scrapped!
reflection is not usable across different deployment scenarios.
If a static binding works, then a Class.forName() will work, since this
is what a static binding does.
--
Jason T. Greene
JBoss, a division of Red Hat