tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Tomcat Wiki] Update of "FAQ/Logging" by GianlucaVarisco
Date Wed, 28 Nov 2007 20:53:12 GMT
Dear Wiki user,

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

The following page has been changed by GianlucaVarisco:
http://wiki.apache.org/tomcat/FAQ/Logging

------------------------------------------------------------------------------
  
  '''Does Tomcat have built-in logging capabilities, and if so how do I use them?'''
  
- 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:
+ 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. If you are using a Tomcat version previous to Tomcat 5.5, make sure
to read the [http://tomcat.apache.org/tomcat-5.0-doc/config/logger.html Logger configuration
reference].
   * Starting with Tomcat 5.5, Logger was removed and [http://jakarta.apache.org/commons/logging
Jakarta 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.

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


Mime
View raw message