The version of Apache log4j used by SoundHelix.
Clone
HTTPS:
git clone https://vervis.peers.community/repos/aEp6o
SSH:
git clone USERNAME@vervis.peers.community:aEp6o
Branches
Tags
- 1.3alpha-7
- CHAINSAW_2_SANDBOX_MERGE
- CORE_VERSION
- LEVEL_REPLACES_PRIORITY
- PREALPHA_1_3_AS_OF_2004_05_12
- PRE_CHAINSAW_MODEL_CONVERSION
- PRE_UGLI_MOVE
- TAG_CHAINSAW2_MOVE
- log4j-1.2.17
- log4j-1.2.17-rc1
- v1.3alpha8
- v1.3alpha8-temp
- v1_2_1
- v1_2_10-recalled
- v1_2_11
- v1_2_11_rc1
- v1_2_11rc3
- v1_2_12
- v1_2_12_rc1
- v1_2_12_rc2
- v1_2_12_rc3
- v1_2_12_rc4
- v1_2_12_rc5
- v1_2_12_rc6
- v1_2_13
- v1_2_13_rc1
- v1_2_13_rc2
- v1_2_13_site_update
- v1_2_14
- v1_2_14_maven
- v1_2_14_rc1
- v1_2_14_site_update
- v1_2_15
- v1_2_15_rc1
- v1_2_15_rc2
- v1_2_15_rc3
- v1_2_15_rc4
- v1_2_15_rc5
- v1_2_15_rc6
- v1_2_16
- v1_2_16_rc1
- v1_2_16_rc2
- v1_2_17
- v1_2_17-rc1
- v1_2_17_rc1
- v1_2_17_rc2
- v1_2_17_rc3
- v1_2_2
- v1_2_3
- v1_2_4
- v1_2_6
- v1_2_7
- v1_2_9
- v1_2_alpha0
- v1_2_alpha7
- v1_2beta1
- v1_2final
- v1_3alpha_1
- v1_3alpha_6
- v_1_0
- v_1_0_1
- v_1_0_4
- v_1_1
- v_1_1_1
- v_1_1_2
- v_1_1_3
- v_1_1_b1
- v_1_1b2
- v_1_1b3
- v_1_1b5
- v_1_1b6
- v_1_1b7
- v_1_2beta3
codes.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<document>
<properties>
<author email="not@disclosed">Ceki G�lc�</author>
<title>Log4j error codes</title>
</properties>
<body>
<center>
<h2>Log4j error messages and their meanings</h2>
<h3>Ceki Gülcü <br/>
November 2004, last updated on December 17th, 2004</h3>
</center>
<message ref="log4j_dtd">
<title>The 'log4j.dtd' is no longer used nor needed.</title>
<explanation>
<p>Given syntactical flexiblilty that
<code>JoranConfigrator</code> supports, it is no longer
possible to express this syntatical range with a DTD. Thus,
new log4j configuration files in XML should follow the general
template.
</p>
<p class="red big">Good:</p>
<pre><?xml version="1.0" encoding="UTF-8" ?>
<b><!DOCTYPE configuration></b>
<configuration xmlns='http://logging.apache.org/'>
...
</configuration>
</pre>
<p>However, <code>JoranConfigurator</code> will continue to
parse your old XML configuration files which previously
required a reference to <code>log4j.dtd</code>. Thus, altough
deprecated, the following form will continue to be parsed
correctly.
</p>
<p class="red big">Deprecated:</p>
<pre><?xml version="1.0" encoding="UTF-8" ?>
<b><!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"></b>
<log4j:configuration xmlns:log4j='http://jakarta.apache.org/log4j/'>
...
</log4j:configuration>
</pre>
<p>Using this deprecated form will generate the above mentioned
error message along with an error from the XML parser.
</p>
</explanation>
</message>
<message ref="tbr_fnp_not_set">
<title>The <b>FileNamePattern</b> option must be set before
using <code>TimeBasedRollingPolicy</code> or
<code>FixedWindowRollingPolicy</code>.
</title>
<explanation>
<p>The <b>FileNamePattern</b> option for both
<code>TimeBasedRollingPolicy</code> and
<code>FixedWindowRollingPolicy</code> is mandatory.
</p>
</explanation>
</message>
<message ref="appender_order">
<title>Could not find an appender named [XYZ]. Did you define it below in the config file?</title>
<explanation>
<p>Whereas the order of declatation of appenders did not
matter in log4j 1.2, in log4j version 1.3 and later, any
appender referenced at a given point must have been already
declared above that point. In practice though, only
configuration files declaring an <code>AsyncAppender</code>
may be affected by this change and only if the appenders
embeded in th <code>AsyncAppender</code> are declared below it
instead of being declared above it.
</p>
<p>For example, the following config file will no longer work.</p>
<p class="red big">Bad:</p>
<pre class="source"><?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE log4j:configuration>
<log4j:configuration xmlns:log4j='http://jakarta.apache.org/log4j/'>
<appender name="<b class="red">ASYNC</b>" class="org.apache.log4j.AsyncAppender">
<appender-ref ref="FILE" />
</appender>
<appender name="<b>FILE</b>" class="org.apache.log4j.FileAppender">
<param name="File" value="myapp.log"/>
...
</appender>
<root>
<level value ="debug" />
<appender-ref ref="ASYNC" />
</root>
</log4j:configuration>
</pre>
<p>It should be changed to the following form.</p>
<p class="red big">Good:</p>
<pre class="source"><?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE configuration>
<configuration xmlns='http://logging.apache.org/'>
<appender name="<b class="red">FILE</b>" class="org.apache.log4j.FileAppender">
<param name="File" value="myapp.log"/>
...
</appender>
<appender name="<b>ASYNC</b>" class="org.apache.log4j.AsyncAppender">
<appender-ref ref="FILE" />
</appender>
<root>
<level value ="debug" />
<appender-ref ref="ASYNC" />
</root>
</configuration>
</pre>
</explanation>
</message>
</body>
</document>