This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Why SL4J is not Used in Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Why SL4J is not Used in Tomcat" Watch "Why SL4J is not Used in Tomcat" New topic

Why SL4J is not Used in Tomcat

Amirtharaj Chinnaraj
Ranch Hand

Joined: Sep 28, 2006
Posts: 236
Hi ,

My question is regard to SL4j vs Commons-logging. SL4j is also under Apache Licence then why its not used in Tomcat by default. Is SL4J a rival to Commons- logging. Which one is better. Though SL4j is not developed by Apache community, But it is approved by the Apache Software Foundation as compatible with Apache Software License.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15950

do you mean SLF4j?

SLF4J is used to permit the construction of apps from components what may be using different loggers in order to funnel them all into a single unified logging facility.

Tomcat doesn't need something like that because it's mostly self-contained and therefore not at the mercy of multiple logger users.

Customer surveys are for companies who didn't pay proper attention to begin with.
wood burning stoves
subject: Why SL4J is not Used in Tomcat
Similar Threads
User defined log file cannot be found or is not usable
class not found exception while running my first hebernate example
WAS commons-logging problem SOLVED (without PARENT_LAST)
Tomcat newbie very simple question.
Logging in Struts