You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jcs-dev@jakarta.apache.org by hc...@apache.org on 2005/01/22 22:37:43 UTC

cvs commit: jakarta-turbine-jcs/sandbox/yajcache/test log4j.xml

hchar       2005/01/22 13:37:43

  Added:       sandbox/yajcache/test log4j.xml
  Log:
  move yajcache to sandbox
  
  Revision  Changes    Path
  1.1                  jakarta-turbine-jcs/sandbox/yajcache/test/log4j.xml
  
  Index: log4j.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?> 
  <!--
  	Copyright 2004 The Apache Software Foundation
  	
  	Licensed under the Apache License, Version 2.0 (the "License");
  	you may not use this file except in compliance with the License.
  	You may obtain a copy of the License at
  	
  	    http://www.apache.org/licenses/LICENSE-2.0
  	
  	Unless required by applicable law or agreed to in writing, software
  	distributed under the License is distributed on an "AS IS" BASIS,
  	WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  	See the License for the specific language governing permissions and
  	limitations under the License.
  -->
  <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
  
  <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">
  	<appender name="ASYNC" class="org.apache.log4j.AsyncAppender">
  		<appender-ref ref="CONSOLE"/>
      <!--appender-ref ref="FILE"/-->
  	</appender>
  
  	<appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
  		<layout class="org.apache.log4j.PatternLayout">
    		     <param name="ConversionPattern" 
  					value="[%d{dd/MM hh:mm:ss}] %5p %c{2}: %m%n" />
  		</layout>
  	</appender>
  
  	<appender name="FILE" class="org.apache.log4j.RollingFileAppender">
  		<param name="File" value="/tmp/yajcache.log4j.log"/>
  		<param name="MaxFileSize" value="1MB"/>
  		<param name="MaxBackupIndex" value="100"/>
  		<layout class="org.apache.log4j.PatternLayout">
    		     <param name="ConversionPattern" 
  					value="[%d{dd/MM/yy hh:mm:ss:sss}] %5p %c{2}: %m%n" />
  		</layout>
  	</appender>
  
  	<root>
  		<priority value="debug"/>
  		<appender-ref ref="CONSOLE"/>
  		<!--appender-ref ref="ASYNC"/-->
  	</root>
  </log4j:configuration>
  
  
  

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