It seems that log4j has some class loading issues (among others) and it seems to me the trend is to move out of log4j toward slf4j. (Hibernate stopped using the first in favor of the latter)
- Is it true?
- What are the main issues in log4j that slf4j solves?
- Is slf4j the final word or is there even a better "the next next log4j" industry standard?
This is my first question here, so please be gentle
Update:
- So this answer by delfuego confuses me, can you accept / object it?:
You appear to have stumbled upon the major problem with log4j (and the Apache Commons Logging library), namely that they have a ridiculously hard time discovering and interacting with the right classloaders as they're being used. There's a very dense explanation, complete with examples, here; the take-home message is that one of the primary driving forces for the new logging framework SLF4J was to eliminate these issues entirely. You might want to swap it in and see if your life is made any easier.
- More classloading issues by log4j: http://articles.qos.ch/classloader.html