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
TAG_CHAINSAW2_MOVE
:: docs
/
codes.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- Content Stylesheet for Site -->
<!-- start the processing -->
<!-- ====================================================================== -->
<!-- GENERATED FILE, DO NOT EDIT, EDIT THE XML FILE IN xdocs INSTEAD! -->
<!-- Main Page Section -->
<!-- ====================================================================== -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
<meta name="author" value="Ceki Gulcu">
<meta name="email" value="ceki AT aappaacchheeee DOT org">
<link href="./css/site.css" rel="stylesheet" type="text/css"/>
<title>Log4j project - Log4j error codes</title>
</head>
<body bgcolor="#ffffff" text="#000000" link="#525D76">
<!-- START Header table -->
<table class="banner" border="0">
<tr>
<td valign="top">
<a href="http://logging.apache.org/">
<img src="http://logging.apache.org/images/ls-logo.jpg" border="0"/>
</a>
</td>
<td align="right">
<a href="http://logging.apache.org/log4j/docs/">
<img src="./images/logo.jpg" alt="The log4j project" border="0"/>
</a>
</td>
</tr>
</table>
<!-- END Header table -->
<div class="centercol">
<hr noshade="" size="1"/>
<center>
<h2>Log4j error messages and their meanings</h2>
<h3>Ceki G�lc� <br />
November 2004, last updated on December 17th, 2004</h3>
</center>
<hr/>
<div class="big">
<a name="log4j_dtd">
<table>
<tr>
<td valign="top"><b>Message:</b></td>
<td class="msg_title">The 'log4j.dtd' is no longer used nor needed.</td>
</tr>
</table>
</a>
</div>
<div class="msg_meaning">
<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>
</div>
<div class="big">
<a name="tbr_fnp_not_set">
<table>
<tr>
<td valign="top"><b>Message:</b></td>
<td class="msg_title">The <b>FileNamePattern</b> option must be set before
using <code>TimeBasedRollingPolicy</code> or
<code>FixedWindowRollingPolicy</code>.
</td>
</tr>
</table>
</a>
</div>
<div class="msg_meaning">
<p>The <b>FileNamePattern</b> option for both
<code>TimeBasedRollingPolicy</code> and
<code>FixedWindowRollingPolicy</code> is mandatory.
</p>
</div>
<div class="big">
<a name="appender_order">
<table>
<tr>
<td valign="top"><b>Message:</b></td>
<td class="msg_title">Could not find an appender named [XYZ]. Did you define it below in the config file?</td>
</tr>
</table>
</a>
</div>
<div class="msg_meaning">
<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>
</div>
<!-- FOOTER -->
<div align="center"><font color="#525D76" size="-1"><em>
Copyright © 1999-2004, Apache Software Foundation
</em></font></div>
<!-- END main table -->
<!-- LEFT SIDE NAVIGATION -->
<!-- ============================================================ -->
<div class="leftcol">
<div class="menu_header">Log4j Project</div>
<div class="menu_item"> <a href="./index.html">Introduction</a>
</div>
<div class="menu_item"> <a href="./download.html">Download</a>
</div>
<div class="menu_item"> <a href="./documentation.html">Documentation</a>
</div>
<div class="menu_item"> <a href="./chainsaw.html">Chainsaw</a>
</div>
<div class="menu_item"> <a href="./ugli.html">UGLI</a>
</div>
<div class="menu_item"> <a href="./history.html">History</a>
</div>
<div class="menu_header">Support</div>
<div class="menu_item"> <a href="http://logging.apache.org/site/binindex.cgi">Binary distributions</a>
</div>
<div class="menu_item"> <a href="http://logging.apache.org/site/cvs-repositories.html">CVS Repositories</a>
</div>
<div class="menu_item"> <a href="http://logging.apache.org/site/mailing-lists.html">Mailing Lists</a>
</div>
<div class="menu_item"> <a href="http://logging.apache.org/site/bugreport.html">Bug Reporting</a>
</div>
<div class="menu_header">Translations</div>
<div class="menu_item"> <a href="http://jakarta.apache-korea.org/log4j/index.html">Korean</a>
</div>
<div class="menu_item"> <a href="http://www.ingrid.org/jajakarta/log4j/">Japanese</a>
</div>
</div>
</body>
</html>
<!-- end the processing -->