You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Apache Wiki <wi...@apache.org> on 2015/07/02 10:01:45 UTC

[Tomcat Wiki] Update of "FAQ/Logging" by markt

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for change notification.

The "FAQ/Logging" page has been changed by markt:
https://wiki.apache.org/tomcat/FAQ/Logging?action=diff&rev1=22&rev2=23

Comment:
Correct version

  The Servlet Specification requires Servlet Containers like Tomcat to provide at least a rudimentary implementation of the {{{ServletContext#log}}} method. Tomcat provides a much richer implementation than required by the Spec, as follows:
  
   * Prior to Tomcat 5.5, Tomcat provided a Logger element that you could configure and extend according to your needs.
-  * Starting with Tomcat 5.5, Logger was removed and [[http://commons.apache.org/logging/|Apache Commons-Logging]] {{{Log}}} is used everywhere in Tomcat. Read the Commons-Logging documentation if you'd like to know how to better use and configure Tomcat's internal logging. See also http://tomcat.apache.org/tomcat-5.5-doc/logging.html
+  * Starting with Tomcat 5.5, Logger was removed and [[http://commons.apache.org/logging/|Apache Commons-Logging]] {{{Log}}} is used everywhere in Tomcat. Read the Commons-Logging documentation if you'd like to know how to better use and configure Tomcat's internal logging. See also http://tomcat.apache.org/tomcat-8.0-doc/logging.html
   * In Tomcat 7 (and also 6), the logging code is based on a set of classes interacting with the [[http://download.oracle.com/javase/6/docs/api/java/util/logging/package-summary.html|java.util.logging API]] (JUL), which comes with Java since version 1.4. The Tomcat startup script configures the JVM to use a web-application-aware implementation of the [[http://download.oracle.com/javase/6/docs/api/java/util/logging/LogManager.html|JUL LogManager]]. This Tomcat logging infrastructure is called JULI, and one can still distinguish its Apache Commons Logging heritage, but the complex configuration has been edited out and the package name changed.
  
  {{http://public.m-plify.net/TomcatLogging.png}}

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org