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/share/org/apache/tomcat/startup Tomcat.java
Date Sun, 13 Feb 2000 06:19:46 GMT
akv         00/02/12 22:19:46

  Modified:    src/share/org/apache/tomcat/startup Tomcat.java
  Log:
  Added support for the logging service to be "invoked" from the server config
  file.
  
  Revision  Changes    Path
  1.8       +7 -0      jakarta-tomcat/src/share/org/apache/tomcat/startup/Tomcat.java
  
  Index: Tomcat.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/startup/Tomcat.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- Tomcat.java	2000/02/09 23:26:29	1.7
  +++ Tomcat.java	2000/02/13 06:19:46	1.8
  @@ -53,6 +53,13 @@
   	xh.addRule( "ContextManager/Connector", xh.setParent( "setContextManager") );
   	xh.addRule( "ContextManager/Connector", xh.addChild( "addServerConnector", "org.apache.tomcat.core.ServerConnector")
);
   
  +	
  +	xh.addRule("ContextManager/Logger", 
  +		   xh.objectCreate("org.apache.tomcat.logging.TomcatLogger"));
  +	xh.addRule("ContextManager/Logger", xh.setProperties());
  +	xh.addRule("ContextManager/Logger", 
  +		   xh.addChild("addLogger", "org.apache.tomcat.logging.Logger") );
  +
   	xh.addRule( "ContextManager/Connector/Parameter", xh.methodSetter("setProperty",2) );
   	xh.addRule( "ContextManager/Connector/Parameter", xh.methodParam(0, "name") );
   	xh.addRule( "ContextManager/Connector/Parameter", xh.methodParam(1, "value") );
  
  
  

Mime
View raw message