tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@locus.apache.org
Subject cvs commit: jakarta-tomcat/src/etc server.xml
Date Sun, 13 Feb 2000 06:35:31 GMT
akv         00/02/12 22:35:31

  Modified:    src/etc  server.xml
  Log:
  Server.xml with examples on how to use the logger.
  
  Revision  Changes    Path
  1.4       +29 -1     jakarta-tomcat/src/etc/server.xml
  
  Index: server.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/etc/server.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- server.xml	2000/01/30 04:22:45	1.3
  +++ server.xml	2000/02/13 06:35:30	1.4
  @@ -2,6 +2,35 @@
   
   <Server>
       <ContextManager port="8080" hostName="" inet="">
  +
  +        <!-- This is quite flexible; we can either have a log file per
  +             module in Tomcat (example: ContextManager) or we can have
  +	     one for Servlets and one for Jasper, or we can just have
  +	     one tomcat.log for both Servlet and Jasper.
  +
  +	     If you omit "path" there, then stderr should be used.
  +
  +	     verbosityLevel values can be: 
  +			    FATAL
  +			    ERROR
  +			    WARNING 
  +			    INFORMATION
  +			    DEBUG
  +
  +         -->
  +
  +	<Logger name="CTXMGR_LOG" 
  +	        path="logs/tomcat.log" 
  +		verbosityLevel = "DEBUG" />
  +
  +	<Logger name="STARTUP_LOG"
  +		path="logs/tomcat.log"
  +		verbosityLevel = "DEBUG" />
  +
  +	<Logger name="JASPER_LOG" 
  +	        path="logs/jasper.log"
  +		verbosityLevel = "INFORMATION" />
  +
           <Connector className="org.apache.tomcat.service.http.HttpAdapter">
           </Connector>
   
  @@ -10,6 +39,5 @@
               <Parameter name="handler" value="org.apache.tomcat.service.connector.Ajp12ConnectionHandler"/>
               <Parameter name="port" value="8007"/>
           </Connector>
  -
       </ContextManager>
   </Server>
  
  
  

Mime
View raw message