All Downloads are FREE. Search and download functionalities are using the official Maven repository.

zeidon.zeidon-joe.1.5.0.source-code.log4j.xml.sample Maven / Gradle / Ivy

There is a newer version: 2.2.0
Show newest version
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">

<!--
	This file is an example of logging Zeidon output to a file.
-->
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
  <appender name="console" class="org.apache.log4j.ConsoleAppender"> 
    <param name="Target" value="System.out"/> 
    <layout class="org.apache.log4j.PatternLayout"> 
      <param name="ConversionPattern" value="%-5p %d{HH:mm:ss,SSS} %m%n"/> 
    </layout> 
  </appender> 
  
  <appender name="TraceFile" class="org.apache.log4j.FileAppender">
    <param name="File" value="\temp\zeidontrace.log"/>
    <param name="Threshold" value="TRACE"/> 
    <param name="Append" value="true"/> 
    <layout class="org.apache.log4j.PatternLayout">
      <param name="ConversionPattern" value="%d %-5p - %m%n"/>
    </layout>      
  </appender>
  
  <root> 
    <priority value ="debug" /> 
    <appender-ref ref="console" /> 
  </root>
  
</log4j:configuration>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy