The version of Apache log4j used by SoundHelix.

[[ 🗃 ^aEp6o apache-log4j ]] :: [📥 Inbox] [📤 Outbox] [🐤 Followers] [🤝 Collaborators] [🛠 Commits]

Clone

HTTPS: git clone https://vervis.peers.community/repos/aEp6o

SSH: git clone USERNAME@vervis.peers.community:aEp6o

Branches

Tags

v1_2final :: src / java / org / apache / log4j / xml / examples /

extension2.xml

<?xml version="1.0" encoding="UTF-8" ?>

<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd" [
  <!ENTITY XCategory "org.log4j.xml.examples.XCategory">
]>


<!-- A sample file demonstrating the configuration of Category and
     Priority sub-classes.  -->



<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
	<appender name="STDOUT" class="org.apache.log4j.ConsoleAppender">
           <layout class="org.apache.log4j.PatternLayout">
             <param name="ConversionPattern"
		    value="%d %-5p [%t] %c %C{3} (%F:%L) - %m\n"/>
           </layout>	    
	</appender>
	
	<category name="some.cat"
                  class="org.apache.log4j.xml.examples.XCategory">
	  <priority value="TRACE"
                   class="org.apache.log4j.xml.examples.XPriority"/>
          <param name="Suffix" 
                 value=" (Freedom as in the capacity to exercise choice.)"/>
	</category>
	
	<root>
	   <priority value ="trace" 
                     class="org.apache.log4j.xml.examples.XPriority"/>
   	   <appender-ref ref="STDOUT" />
	</root>
	
</log4j:configuration>
[See repo JSON]