Wednesday, May 5, 2010

Log4j vs java.util.logging

While Log4j and JUL are almost conceptually identical, they do differ in terms of functionality. Their difference can be summarized as, "Whatever JUL can do, Log4j can also do - and more." They differ most in the areas of useful appender/handler implementations, useful formatter/layout implementations, and configuration flexibility.


Admin.Mediocre-Ninja said...

That comparision is classic, but it's very old, in fact.

Nowadays slf4j owns all Logging facade framework (even commons-logging), and its native implementation (logback) is much better than log4j :-)

Post a Comment