logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ihabu...@apache.org
Subject [09/43] LOG4PHP-121: Reorganized classes into namespaces
Date Thu, 28 Nov 2013 16:03:39 GMT
http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/src/site/xdoc/docs/appenders/pdo.xml
----------------------------------------------------------------------
diff --git a/src/site/xdoc/docs/appenders/pdo.xml b/src/site/xdoc/docs/appenders/pdo.xml
deleted file mode 100644
index e978c77..0000000
--- a/src/site/xdoc/docs/appenders/pdo.xml
+++ /dev/null
@@ -1,444 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You 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.
--->
-<document xmlns="http://maven.apache.org/XDOC/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-	xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">
-
-	<properties>
-		<title>LoggerAppenderPDO</title>
-	</properties>
-
-	<body>
-		<section name="LoggerAppenderPDO">
-		
-			<p><code>LoggerAppenderPDO</code> appender logs to a database using the PHP's 
-			<a href="http://php.net/manual/en/book.pdo.php" class="external">PDO extension</a>.</p>
-		
-			<subsection name="Layout">
-				<p>This appender does not require a layout.</p>
-			</subsection>
-		
-			<subsection name="Parameters">
-				<p>The following parameters are available:</p>
-		
-				<table>
-					<thead>
-						<tr>
-							<th>Parameter</th>
-							<th>Type</th>
-							<th>Required</th>
-							<th>Default</th>
-							<th>Description</th>
-						</tr>
-					</thead>
-					<tbody>
-						<tr>
-							<td>dsn</td>
-							<td>string</td>
-							<td><strong>Yes</strong></td>
-							<td>-</td>
-							<td>The Data Source Name (DSN) used to connect to the database.</td>
-						</tr>
-						<tr>
-							<td>user</td>
-							<td>string</td>
-							<td><strong>Yes</strong></td>
-							<td>-</td>
-							<td>Username used to connect to the database.</td>
-						</tr>
-						<tr>
-							<td>password</td>
-							<td>string</td>
-							<td><strong>Yes</strong></td>
-							<td>-</td>
-							<td>Password used to connect to the database.</td>
-						</tr>
-						<tr>
-							<td>table</td>
-							<td>string</td>
-							<td>No</td>
-							<td>-</td>
-							<td>Name of the table to which log entries are be inserted.</td>
-						</tr>
-						<tr>
-							<td>insertSql</td>
-							<td>string</td>
-							<td>No</td>
-							<td><em><a href="#Advanced_configuration">see below</a></em></td>
-							<td>SQL query used to insert a log event.</td>
-						</tr>
-						<tr>
-							<td>insertPattern</td>
-							<td>string</td>
-							<td>No</td>
-							<td><em><a href="#Advanced_configuration">see below</a></em></td>
-							<td>A comma separated list of format strings used in conjunction with <code>insertSql</code> parameter.</td>
-						</tr>
-					</tbody>
-				</table>
-				
-				<p>Parameters <code>dsn</code>, <code>user</code> and <code>password</code> are used by PDO to connect to 
-				the database which will be used for logging.</p>
-			</subsection>
-			
-			<subsection name="Data Source Name">
-				<p>The Data Source Name or DSN is a database-specific string which contains the information required
-				to connect to the database.</p>
-			
-				<p>Some common examples of DSNs:</p>
-				
-				<table class="table table-compact table-bordered table-not-wide">
-					<tbody>
-						<tr>
-							<th>MySQL</th>
-							<td><code>mysql:host=localhost;dbname=logdb</code></td>
-							<td><a href="http://php.net/manual/en/ref.pdo-mysql.connection.php" class="external">full reference</a> </td>
-						</tr>
-						<tr>
-							<th>SQLite</th>
-							<td><code>sqlite:/path/to/log.db</code></td>
-							<td><a href="http://php.net/manual/en/ref.pdo-sqlite.connection.php" class="external">full reference</a> </td>
-						</tr>
-						<tr>
-							<th>PostgreSQL </th>
-							<td><code>pgsql:host=localhost;port=5432</code></td>
-							<td><a href="http://php.net/manual/en/ref.pdo-pgsql.connection.php" class="external">full reference</a> </td>
-						</tr>
-					</tbody>
-				</table>
-				
-				<p>For other available database drivers and corresponding DSN format, please see the 
-				<a href="http://www.php.net/manual/en/pdo.drivers.php" class="external">PDO driver documentation</a>.
-				</p>
-			</subsection>
-			
-			<subsection name="Database table">
-			
-				<p>Since version 2.3.0, the appender will <strong>not</strong> create a database table by itself. You 
-				have to create a database table yourself. The reason for this is that various databases use various 
-				create statements and column types. Some common databases are covered in this chapter.</p>
-				
-				<p>By default the table should contain the following columns: </p>
-
-				<ul>
-					<li>timestamp DATETIME</li>
-					<li>logger VARCHAR</li>
-					<li>level VARCHAR</li>
-					<li>message VARCHAR</li>
-					<li>thread VARCHAR</li>
-					<li>file VARCHAR</li>
-					<li>line VARCHAR</li>
-				</ul>
-				
-				<p>If you wish to use an alternative table structure, see the next chapter.</p>
-
-				<p>The following examples show CREATE TABLE statements for some popular databases.</p>
-				
-				<h4>MySQL</h4>
-				
-<pre class="prettyprint">
-CREATE TABLE log4php_log (
-    timestamp DATETIME,
-    logger VARCHAR(256),
-    level VARCHAR(32),
-    message VARCHAR(4000),
-    thread INTEGER,
-    file VARCHAR(255),
-    line VARCHAR(10)
-);
-</pre>
-
-				<h4>SQLite</h4>
-				
-				<p>SQLite does not have a datetime type, so varchar is used instead.</p>
-
-<pre class="prettyprint">
-CREATE TABLE log4php_log (
-    timestamp VARCHAR(50),
-    logger VARCHAR(256),
-    level VARCHAR(32),
-    message VARCHAR(4000),
-    thread INTEGER,
-    file VARCHAR(255),
-    line VARCHAR(10)
-);
-</pre>
-
-				<h4>PostgreSQL</h4>
-
-<pre class="prettyprint">
-CREATE TABLE log4php_log (
-    timestamp TIMESTAMP,
-    logger VARCHAR(256),
-    level VARCHAR(32),
-    message VARCHAR(4000),
-    thread INTEGER,
-    file VARCHAR(255),
-    line VARCHAR(10)
-);
-</pre>
-			</subsection>
-			
-			<subsection name="Advanced configuration" id="Advanced_configuration">
-				<p>Parameters <code>insertSql</code> and <code>insertPattern</code> can be used to change how events are 
-				inserted into the database. By manipulating them, it is possible to use a custom table structure to 
-				suit your needs.</p>
-			
-				<p class="alert alert-warning"><strong>WARNING:</strong> Change these settings only if you are sure you
-				know what you are doing.</p>
-			
-				<p>The default values of these parameters are:</p>
-				
-				<table>
-					<thead>
-						<tr>
-							<th>Parameter</th>
-							<th>Default value</th>
-						</tr>
-					</thead>
-					<tbody>
-						<tr>
-							<td>insertSql</td>
-							<td>INSERT INTO __TABLE__ (timestamp, logger, level, message, thread, file, line) VALUES (?, ?, ?, ?, ?, ?, ?)</td>
-						</tr>
-						<tr>
-							<td>insertPattern</td>
-							<td>%date{Y-m-d H:i:s},%logger,%level,%message,%pid,%file,%line</td>
-						</tr>
-					</tbody>
-				</table>
-			
-				<p>The string <em>__TABLE__</em> in <code>insertSql</code> will be replaced with the table name 
-				defined in <code>table</code>. Question marks in <code>insertSql</code> will be replaced by evaluated 
-				<code><a href="../layouts/pattern.html">LoggerPatternLayout</a></code> format strings defined in 
-				<code>insertPattern</code>. See <code><a href="../layouts/pattern.html">LoggerPatternLayout</a></code>
-				documentation for format string description.</p>
-			
-			</subsection>
-			
-				
-			<subsection name="Examples">
-			
-				<h4>Example 1</h4>
-			
-				<p>The simplest example is connecting to an SQLite database which does not require any 
-				authentication.</p> 
-				
-				<p>SQLite databases are contained in simple files and don't reuquire a server to run. This example will
-				log to the database contained in <code>/var/log/log.sqlite</code>.</p>
-				
-				<p>First, create a database and a table for logging. In this example, let's create the database at 
-				<code>/tmp/log.db</code>.</p>
-				
-<pre><![CDATA[
-$ sqlite3 /tmp/log.db
-SQLite version 3.7.9 2011-11-01 00:52:41
-Enter ".help" for instructions
-Enter SQL statements terminated with a ";"
-sqlite> CREATE TABLE log4php_log (
-   ...> timestamp VARCHAR(256),
-   ...> logger VARCHAR(256),
-   ...> level VARCHAR(32),
-   ...> message VARCHAR(4000),
-   ...> thread INTEGER,
-   ...> file VARCHAR(255),
-   ...> line VARCHAR(10)
-   ...> );
-]]></pre>
-
-				<p>When the database is set up, use the following configuration to set up log4php.</p>
-				
-				<div class="auto-tabs">
-					<ul>
-						<li>XML</li>
-						<li>PHP</li>
-					</ul>
- 
-					<div class="tab-content" >
-						<div class="tab-pane">
-<pre class="prettyprint"><![CDATA[
-<configuration xmlns="http://logging.apache.org/log4php/">
-    <appender name="default" class="LoggerAppenderPDO">
-        <param name="dsn" value="sqlite:/tmp/log.db" />
-    </appender>
-    <root>
-        <appender_ref ref="default" />
-    </root>
-</configuration>
-]]></pre>
-						</div>
-						<div class="tab-pane">
-<pre class="prettyprint"><![CDATA[
-array(
-    'appenders' => array(
-        'default' => array(
-            'class' => 'LoggerAppenderPDO',
-            'params' => array(
-                'dsn' => 'sqlite:/tmp/log.db',
-            ),
-        ),
-    ),
-    'rootLogger' => array(
-        'appenders' => array('default'),
-    ),
-);
-]]></pre>
-						</div>
-					</div>
-				</div>
-				
-				<p>Now the database is ready to accept some logging data.</p>
-				
-<pre class="prettyprint linenums"><![CDATA[
-require 'log4php/Logger.php';
-Logger::configure('config.xml');
-
-$log = Logger::getLogger('foo');
-$log->info("foo");
-$log->info("bar");
-$log->info("baz");
-]]></pre>
-				
-				<p>And you can .</p>
-
-<pre><![CDATA[
-$ sqlite3 /tmp/log.db
-SQLite version 3.7.9 2011-11-01 00:52:41
-Enter ".help" for instructions
-Enter SQL statements terminated with a ";"
-sqlite> select * from log4php_log;
-2012-08-18 17:14:11|foo|INFO|foo|23531|/home/ihabunek/apache/sqlite.php|5
-2012-08-18 17:14:11|foo|INFO|bar|23531|/home/ihabunek/apache/sqlite.php|6
-2012-08-18 17:14:11|foo|INFO|baz|23531|/home/ihabunek/apache/sqlite.php|7
-]]></pre>
-				
-				<h4>Example 2</h4>
-
-				<p>A slightly more complex example is connecting to a MySQL database which requires user credentials
-				to be provided. Additionally, a user-specified table name is used.</p>
-				
-				<p>First, a log table has to be created. For this example a database named <code>logdb</code> will be 
-				created, and within it a table named <code>log</code>.</p>
-				
-<pre><![CDATA[
-$ mysql -u root -p
-Enter password: *******
-Welcome to the MySQL monitor.  Commands end with ; or \g.
-Your MySQL connection id is 47
-Server version: 5.5.24-0ubuntu0.12.04.1 (Ubuntu)
-
-mysql> CREATE DATABASE logdb;
-Query OK, 1 row affected (0.00 sec)
-
-mysql> USE logdb;
-Database changed
-
-mysql> CREATE TABLE log (
-    -> timestamp DATETIME,
-    -> logger VARCHAR(256),
-    -> level VARCHAR(32),
-    -> message VARCHAR(4000),
-    -> thread INTEGER,
-    -> file VARCHAR(255),
-    -> line VARCHAR(10)
-    -> );
-Query OK, 0 rows affected (0.01 sec)
-]]></pre>
-				
-				<p>The following configuration allows log4php to write to the newly created table.</p>
-				
-				<div class="auto-tabs">
-					<ul>
-						<li>XML</li>
-						<li>PHP</li>
-					</ul>
- 
-					<div class="tab-content" >
-						<div class="tab-pane">
-<pre class="prettyprint"><![CDATA[
-<configuration xmlns="http://logging.apache.org/log4php/">
-    <appender name="default" class="LoggerAppenderPDO">
-        <param name="dsn" value="mysql:host=localhost;dbname=logdb" />
-        <param name="user" value="root" />
-        <param name="password" value="secret" />
-        <param name="table" value="log" />
-    </appender>
-    <root>
-        <appender_ref ref="default" />
-    </root>
-</configuration>
-]]></pre>
-						</div>
-						<div class="tab-pane">
-<pre class="prettyprint"><![CDATA[
-array(
-    'appenders' => array(
-        'default' => array(
-            'class' => 'LoggerAppenderPDO',
-            'params' => array(
-                'dsn' => 'mysql:host=localhost;dbname=logdb',
-                'user' => 'root',
-                'password' => 'secret',
-                'table' => 'log',
-            ),
-        ),
-    ),
-    'rootLogger' => array(
-        'appenders' => array('default'),
-    ),
-);
-]]></pre>
-						</div>
-					</div>
-				</div>
-					
-				<p>Now the database is ready to accept some logging data.</p>
-				
-<pre class="prettyprint linenums"><![CDATA[
-require 'log4php/Logger.php';
-Logger::configure('config.xml');
-
-$log = Logger::getLogger('main');
-$log->info("foo");
-$log->info("bar");
-$log->info("baz");
-]]></pre>
-
-				<p>Finally, to see the newly logged data.</p>
-				
-<pre><![CDATA[
-$ mysql -u root -p
-Enter password: *******
-Welcome to the MySQL monitor.  Commands end with ; or \g.
-Your MySQL connection id is 47
-Server version: 5.5.24-0ubuntu0.12.04.1 (Ubuntu)
-
-mysql> select * from log;
-+---------------------+--------+-------+---------+--------+---------------------------------+------+
-| timestamp           | logger | level | message | thread | file                            | line |
-+---------------------+--------+-------+---------+--------+---------------------------------+------+
-| 2012-08-18 17:30:05 | main   | INFO  | foo     |  23638 | /home/ihabunek/apache/mysql.php | 5    |
-| 2012-08-18 17:30:05 | main   | INFO  | bar     |  23638 | /home/ihabunek/apache/mysql.php | 6    |
-| 2012-08-18 17:30:05 | main   | INFO  | baz     |  23638 | /home/ihabunek/apache/mysql.php | 7    |
-+---------------------+--------+-------+---------+--------+---------------------------------+------+
-3 rows in set (0.00 sec)
-]]></pre>
-				
-			</subsection>
-		</section>
-	</body>
-</document>

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/src/site/xdoc/docs/appenders/php.xml
----------------------------------------------------------------------
diff --git a/src/site/xdoc/docs/appenders/php.xml b/src/site/xdoc/docs/appenders/php.xml
deleted file mode 100644
index 6331afd..0000000
--- a/src/site/xdoc/docs/appenders/php.xml
+++ /dev/null
@@ -1,91 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You 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.
--->
-<document xmlns="http://maven.apache.org/XDOC/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-	xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">
-
-	<properties>
-		<title>LoggerAppenderPhp</title>
-	</properties>
-
-	<body>
-		<section name="LoggerAppenderPhp">
-		
-			<p><code>LoggerAppenderPhp</code> logs events by creating a PHP user-level message using the PHP's
-			<code><a href="http://www.php.net/manual/en/function.trigger-error.php" 
-			class="external">trigger_error()</a></code>function.</p>
-		
-			<p>The message type depends on the event's severity level:</p>
-			<ul>
-				<li><code>E_USER_NOTICE</code> when the event's level is equal to or less than INFO</li>
-				<li><code>E_USER_WARNING</code> when the event's level is equal to WARN</li>
-				<li><code>E_USER_ERROR</code> when the event's level is equal to or greater than ERROR</li>
-			</ul>
-			
-			<subsection name="Layout">
-				<p>This appender requires a layout. If no layout is specified in configuration, 
-				<code><a href="../layouts/simple.html">LoggerLayoutSimple</a></code> will be used by default.</p>
-			</subsection>	
-		
-			<subsection name="Parameters">
-				<p>This appender has no configurable parameters.</p>
-			</subsection>
-				
-			<subsection name="Examples">
-
-				<div class="auto-tabs">
-					<ul>
-						<li>XML</li>
-						<li>PHP</li>
-					</ul>
- 
-					<div class="tab-content" >
-						<div class="tab-pane">
-<pre class="prettyprint"><![CDATA[
-<configuration xmlns="http://logging.apache.org/log4php/">
-    <appender name="default" class="LoggerAppenderPhp">
-        <layout class="LoggerLayoutSimple" />
-    </appender>
-    <root>
-        <appender_ref ref="default" />
-    </root>
-</configuration>
-]]></pre>
-						</div>
-						<div class="tab-pane">
-<pre class="prettyprint"><![CDATA[
-array(
-    'appenders' => array(
-        'default' => array(
-            'class' => 'LoggerAppenderPhp',
-            'layout' => array(
-                'class' => 'LoggerLayoutSimple',
-            ),
-        ),
-    ),
-    'rootLogger' => array(
-        'appenders' => array('default'),
-    ),
-);
-]]></pre>
-						</div>
-					</div>
-				</div>
-			</subsection>
-		</section>
-	</body>
-</document>

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/src/site/xdoc/docs/appenders/rolling-file.xml
----------------------------------------------------------------------
diff --git a/src/site/xdoc/docs/appenders/rolling-file.xml b/src/site/xdoc/docs/appenders/rolling-file.xml
deleted file mode 100644
index 733687c..0000000
--- a/src/site/xdoc/docs/appenders/rolling-file.xml
+++ /dev/null
@@ -1,155 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You 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.
--->
-<document xmlns="http://maven.apache.org/XDOC/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-	xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">
-
-	<properties>
-		<title>LoggerAppenderRollingFile</title>
-	</properties>
-
-	<body>
-		<section name="LoggerAppenderRollingFile">
-		
-			<p><code>LoggerAppenderRollingFile</code> writes logging events to a specified file. The file is rolled over 
-			after a specified size has been reached.</p>
-			
-			<p>For example, if logging to a file named <code>file.log</code>, when the file size reaches the specified 
-			size limit, the contents are archived in a file named <code>file.log.1</code> and <code>file.log</code>
-			is truncated. When the size limit is reached the second time, <code>file.log.1</code> is renamed to 
-			<code>file.log.2</code>; contents from <code>file.log</code> are archived to <code>file.log.1</code> and 
-			<code>file.log</code> is truncated</p>
-			
-			<p>This continues until the maximum backup index is reached, after which the oldest log file is deleted
-			on each rollover.</p>
-			
-			<subsection name="Layout">
-				<p>This appender requires a layout. If no layout is specified in configuration, 
-				<code><a href="../layouts/simple.html">LoggerLayoutSimple</a></code> will be used by default.</p>
-			</subsection>
-			
-			<subsection name="Parameters">
-				<p>The following parameters are available:</p>
-		
-				<table>
-					<thead>
-						<tr>
-							<th>Parameter</th>
-							<th>Type</th>
-							<th>Required</th>
-							<th>Default</th>
-							<th>Description</th>
-						</tr>
-					</thead>
-					<tbody>
-						<tr>
-							<td>file</td>
-							<td>string</td>
-							<td><strong>Yes</strong></td>
-							<td>-</td>
-							<td>Path to the target file. Should contain a <code>%s</code> which gets substituted by the 
-							date.</td>
-						</tr>
-						<tr>
-							<td>append</td>
-							<td>boolean</td>
-							<td>No</td>
-							<td>true</td>
-							<td>If set to true, the appender will append to the file, otherwise the file contents will be 
-							overwritten.</td>
-						</tr>
-						<tr>
-							<td>maxFileSize</td>
-							<td>string</td>
-							<td>No</td>
-							<td>10M</td>
-							<td>Maximum allowed file size (in bytes) before rolling over. Suffixes "KB", "MB" and "GB" are allowed. 10KB = 10240 bytes, etc.</td>
-						</tr>
-						<tr>
-							<td>maxBackupIndex</td>
-							<td>integer</td>
-							<td>No</td>
-							<td>1</td>
-							<td>Maximum number of backup files to keep.</td>
-						</tr>
-						<tr>
-							<td>compress</td>
-							<td>boolean</td>
-							<td>No</td>
-							<td>false</td>
-							<td>If set to true, the rollover files are compressed and saved with the .gz extension.</td>
-						</tr>
-					</tbody>
-				</table>
-				
-			</subsection>
-				
-			<subsection name="Examples">
-				
-				<p>This example shows how to configure <code>LoggerAppenderRollingFile</code> to rollover after reaching
-				the size of 1MB and for keeping the last 5 backup files.</p>
-
-				<div class="auto-tabs">
-					<ul>
-						<li>XML</li>
-						<li>PHP</li>
-					</ul>
- 
-					<div class="tab-content" >
-						<div class="tab-pane">
-<pre class="prettyprint"><![CDATA[
-<configuration xmlns="http://logging.apache.org/log4php/">
-    <appender name="default" class="LoggerAppenderRollingFile">
-        <layout class="LoggerLayoutSimple" />
-        <param name="file" value="file.log" />
-        <param name="maxFileSize" value="1MB" />
-        <param name="maxBackupIndex" value="5" />
-    </appender>
-    <root>
-        <appender_ref ref="default" />
-    </root>
-</configuration>
-]]></pre>
-						</div>
-						<div class="tab-pane">
-<pre class="prettyprint"><![CDATA[
-array(
-    'appenders' => array(
-        'default' => array(
-            'class' => 'LoggerAppenderRollingFile',
-            'layout' => array(
-                'class' => 'LoggerLayoutSimple',
-            ),
-            'params' => array(
-                'file' => 'file.log',
-                'maxFileSize' => '1MB',
-                'maxBackupIndex' => 5,
-            ),
-        ),
-    ),
-    'rootLogger' => array(
-        'appenders' => array('default'),
-    ),
-);
-]]></pre>
-						</div>
-					</div>
-				</div>
-			</subsection>
-		</section>
-	</body>
-</document>

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/src/site/xdoc/docs/appenders/socket.xml
----------------------------------------------------------------------
diff --git a/src/site/xdoc/docs/appenders/socket.xml b/src/site/xdoc/docs/appenders/socket.xml
deleted file mode 100644
index ed2f351..0000000
--- a/src/site/xdoc/docs/appenders/socket.xml
+++ /dev/null
@@ -1,146 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You 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.
--->
-<document xmlns="http://maven.apache.org/XDOC/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-	xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">
-
-	<properties>
-		<title>LoggerAppenderSocket</title>
-	</properties>
-
-	<body>
-		<section name="LoggerAppenderSocket">
-		
-			<p><code>LoggerAppenderSocket</code> appends to a network socket.</p>
-			
-			<subsection name="Layout">
-				<p>This appender requires a layout. If no layout is specified in configuration, 
-				<code><a href="../layouts/serialized.html">LoggerLayoutSerialized</a></code> will be used by default.</p>
-				
-				<p>Prior to version <code>2.2</code>, a layout was not required.</p>
-			</subsection>
-			
-			<subsection name="Parameters">
-				<p>The following parameters are available:</p>
-		
-				<table>
-					<thead>
-						<tr>
-							<th>Parameter</th>
-							<th>Type</th>
-							<th>Required</th>
-							<th>Default</th>
-							<th>Description</th>
-						</tr>
-					</thead>
-					<tbody>
-						<tr>
-							<td>remoteHost</td>
-							<td>string</td>
-							<td><strong>Yes</strong></td>
-							<td>-</td>
-							<td>Target host. On how to define a remote hostname see <code>
-							<a href="http://php.net/manual/en/function.fsockopen.php" class="external">fsockopen()</a>
-							</code> documentation. </td>
-						</tr>
-						<tr>
-							<td>port</td>
-							<td>integer</td>
-							<td>No</td>
-							<td>4446</td>
-							<td>Target port of the socket.</td>
-						</tr>
-						<tr>
-							<td>timeout</td>
-							<td>integer</td>
-							<td>No</td>
-							<td><code>ini_get('default_socket_timeout')</code></td>
-							<td>Timeout in ms.</td>
-						</tr>
-					</tbody>
-				</table>
-			</subsection>
-			
-			<subsection name="Changelog">
-				<table class="table table-striped table-bordered table-not-wide">
-					<thead>
-						<tr>
-							<th>Version</th>
-							<th>Description</th>
-						</tr>
-					</thead>
-					<tbody>
-						<tr>
-							<td><code>2.2.0</code></td>
-							<td>From this version, the socket appender uses a layout to format the logging events.
-							Because of this change, the following parameters are no longer used: <code>useXml</code>,
-							<code>locationInfo</code>, <code>log4jNamespace</code>. These settings can be configured
-							on the layout.</td>
-						</tr>
-					</tbody>
-				</table>
-			</subsection>
-				
-			<subsection name="Examples">
-				
-				<p>In this example, log events are sent to a socket server at <code>localhost:4242</code>, using the 
-				default (serialized) layout.</p>
-				
-				<div class="auto-tabs">
-					<ul>
-						<li>XML</li>
-						<li>PHP</li>
-					</ul>
- 
-					<div class="tab-content" >
-						<div class="tab-pane">
-<pre class="prettyprint"><![CDATA[
-<configuration xmlns="http://logging.apache.org/log4php/">
-    <appender name="default" class="LoggerAppenderSocket">
-        <param name="remoteHost" value="localhost" />
-        <param name="port" value="4242" />
-    </appender>
-    <root>
-        <appender_ref ref="default" />
-    </root>
-</configuration>
-]]></pre>
-						</div>
-						<div class="tab-pane">
-<pre class="prettyprint"><![CDATA[
-array(
-    'appenders' => array(
-        'default' => array(
-            'class' => 'LoggerAppenderSocket',
-            'params' => array(
-                'remoteHost' => 'localhost',
-                'port' => 4242
-            ),
-        ),
-    ),
-    'rootLogger' => array(
-        'appenders' => array('default'),
-    ),
-);
-]]></pre>
-						</div>
-					</div>
-				</div>
-			</subsection>
-		</section>
-	</body>
-</document>

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/src/site/xdoc/docs/appenders/syslog.xml
----------------------------------------------------------------------
diff --git a/src/site/xdoc/docs/appenders/syslog.xml b/src/site/xdoc/docs/appenders/syslog.xml
deleted file mode 100644
index 5874eca..0000000
--- a/src/site/xdoc/docs/appenders/syslog.xml
+++ /dev/null
@@ -1,355 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You 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.
--->
-<document xmlns="http://maven.apache.org/XDOC/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-	xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">
-
-	<properties>
-		<title>LoggerAppenderSyslog</title>
-	</properties>
-
-	<body>
-		<section name="LoggerAppenderSyslog">
-		
-			<p><code>LoggerAppenderSyslog</code> logs events to the syslog.</p>
-			
-			<subsection name="Layout">
-				<p>This appender requires a layout. If no layout is specified in configuration, 
-				<code><a href="../layouts/simple.html">LoggerLayoutSimple</a></code> will be used by default.</p>
-			</subsection>	
-			
-			<subsection name="Parameters">
-				<p>The following parameters are available:</p>
-		
-				<table>
-					<thead>
-						<tr>
-							<th>Parameter</th>
-							<th>Type</th>
-							<th>Required</th>
-							<th>Default</th>
-							<th>Description</th>
-						</tr>
-					</thead>
-					<tbody>
-						<tr>
-							<td>ident</td>
-							<td>string</td>
-							<td>no</td>
-							<td>Apache log4php</td>
-							<td>A string which will identify your appender.</td>
-						</tr>
-						<tr>
-							<td>overridePriority</td>
-							<td>boolean</td>
-							<td>No</td>
-							<td>false</td>
-							<td>If set to true, all messages will be sent to the syslog using the priority specified 
-							in the <code>priority</code> parameter. Otherwise, the pririty will depend on the level 
-							of the event being logged. See below.</td>
-						</tr>
-						<tr>
-							<td>priority</td>
-							<td>string</td>
-							<td>Yes/No</td>
-							<td>-</td>
-							<td>The syslog priority to use when overriding priority. This setting is required if 
-							<code>overridePriority</code> is set to true. <a href="#Priorities">See below</a> for 
-							available priorities.</td>
-						</tr>
-						<tr>
-							<td>facility</td>
-							<td>string</td>
-							<td>No</td>
-							<td><code>USER</code></td>
-							<td>The syslog facility. Identifies the part of the system from which the event originated.
-							<a href="#Facilities">See below</a> for available facilities.</td>
-						</tr>
-						<tr>
-							<td>option</td>
-							<td>string</td>
-							<td>No</td>
-							<td><code>PID|CONS</code></td>
-							<td>Syslog options. <a href="#Options">See below</a> for available options.</td>
-						</tr>
-					</tbody>
-				</table>
-			</subsection>
-			
-			<subsection name="Priorities" id="Priorities">
-			
-				<p>The <em>priority</em> is the syslog equivalent of the log4php level. Here's a list of priorities 
-				available in syslog and the equivalent log4php levels.</p>
-				
-				<table>
-					<thead>
-						<tr>
-							<th>Priority</th>
-							<th>Description</th>
-							<th>Equivalent level</th>
-						</tr>
-					</thead>
-					<tbody>
-						<tr>
-							<td>EMERG</td>
-							<td>System is unusable.</td>
-							<td>-</td>
-						</tr>
-						<tr>
-							<td>ALERT</td>
-							<td>Action must be taken immediately.</td>
-							<td>FATAL</td>
-						</tr>
-						<tr>
-							<td>CRIT</td>
-							<td>Critical conditions.</td>
-							<td>-</td>
-						</tr>
-						<tr>
-							<td>ERR</td>
-							<td>Error conditions.</td>
-							<td>ERROR</td>
-						</tr>
-						<tr>
-							<td>WARNING</td>
-							<td>Warning conditions</td>
-							<td>WARN</td>
-						</tr>
-						<tr>
-							<td>NOTICE</td>
-							<td>Normal, but significant, condition</td>
-							<td>-</td>
-						</tr>
-						<tr>
-							<td>INFO</td>
-							<td>Informational message</td>
-							<td>INFO</td>
-						</tr>
-						<tr>
-							<td>DEBUG</td>
-							<td>Debug-level message</td>
-							<td>DEBUG, TRACE</td>
-						</tr>					
-					</tbody>
-				</table>
-				
-				<p>Messages with level <code>FATAL</code> will be logged using the syslog's <code>ALERT</code> priority;
-				<code>ERROR</code> level message will use <code>ERR</code> priority, etc.</p>
-				
-				<p>Note that there is no priority below <code>DEBUG</code>, therefore both <code>TRACE</code> and 
-				<code>DEBUG</code> level mesages will be logged using the <code>DEBUG</code> syslog priority.</p>
-			
-			</subsection>
-			
-			<subsection name="Facilities" id="Facilities">
-			
-				<p>The <em>facility</em> parameter is used to specify what type of program is logging the message. This 
-				allows you to specify (in your machine's syslog configuration) how messages coming from different
-				facilities will be handled.</p>
-				
-				<p>The following facilities are available:</p>
-				
-				<table>
-					<thead>
-						<tr>
-							<th>Name</th>
-							<th>Description</th>
-						</tr>
-					</thead>
-					<tbody>
-						<tr>
-							<td>KERN</td>
-							<td>Kernel messages</td>
-						</tr>
-						<tr>
-							<td>USER</td>
-							<td>Generic user-level messages</td>
-						</tr>
-						<tr>
-							<td>MAIL</td>
-							<td>Mail system</td>
-						</tr>
-						<tr>
-							<td>DAEMON</td>
-							<td>System daemons</td>
-						</tr>
-						<tr>
-							<td>AUTH</td>
-							<td>Security/authorization messages</td>
-						</tr>
-						<tr>
-							<td>SYSLOG</td>
-							<td>Messages generated internally by syslogd</td>
-						</tr>
-						<tr>
-							<td>LPR</td>
-							<td>Line printer subsystem</td>
-						</tr>
-						<tr>
-							<td>NEWS</td>
-							<td>Network news subsystem</td>
-						</tr>
-						<tr>
-							<td>UUCP</td>
-							<td>UUCP subsystem</td>
-						</tr>
-						<tr>
-							<td>CRON</td>
-							<td>Clock daemon</td>
-						</tr>
-						<tr>
-							<td>AUTHPRIV</td>
-							<td>Security/authorization messages (private)</td>
-						</tr>
-						<tr>
-							<td>LOCAL0</td>
-							<td>Reserved for local use</td>
-						</tr>
-						<tr>
-							<td>LOCAL1</td>
-							<td>Reserved for local use</td>
-						</tr>
-						<tr>
-							<td>LOCAL2</td>
-							<td>Reserved for local use</td>
-						</tr>
-						<tr>
-							<td>LOCAL3</td>
-							<td>Reserved for local use</td>
-						</tr>
-						<tr>
-							<td>LOCAL4</td>
-							<td>Reserved for local use</td>
-						</tr>
-						<tr>
-							<td>LOCAL5</td>
-							<td>Reserved for local use</td>
-						</tr>
-						<tr>
-							<td>LOCAL6</td>
-							<td>Reserved for local use</td>
-						</tr>
-						<tr>
-							<td>LOCAL7</td>
-							<td>Reserved for local use</td>
-						</tr>
-					</tbody>
-				</table>
-				
-				<p class="alert alert-warning">Warning: <code>USER</code> is the only facility available on 
-				Windows operating systems.</p>
-			
-			</subsection>
-			
-			<subsection name="Options" id="Options">
-			
-				<p>The following additional syslog options may be defined via the <em>option</em> parameter:</p>
-				
-				<table>
-					<thead>
-						<tr>
-							<th>Name</th>
-							<th>Description</th>
-						</tr>
-					</thead>
-					<tbody>
-						<tr>
-							<td>CONS</td>
-							<td>If there is an error while sending data to the system logger, write directly to the 
-							system console</td>
-						</tr>
-						<tr>
-							<td>NDELAY</td>
-							<td>Open the connection to the logger immediately.</td>
-						</tr>
-						<tr>
-							<td>ODELAY</td>
-							<td>Delay opening the connection until the first message is logged (default).</td>
-						</tr>
-						<tr>
-							<td>PERROR</td>
-							<td>Print log messages also to standard error.</td>
-						</tr>
-						<tr>
-							<td>PID</td>
-							<td>Include the PID with each message.</td>
-						</tr>
-					</tbody>
-				</table>
-				
-				<p>Multiple options may be set by separating them with a pipe character. For example 
-				<code>CONS|PID|NODELAY</code>.</p>
-				
-				<p class="alert-message warning">Warning: When setting multiple options in an INI configuration file, 
-				be sure to put the options string in quotes. Otherwise they will not be parsed correctly.</p>
-
-			</subsection>
-				
-			<subsection name="Examples">
-			
-				<p>Here is a sample configuration:</p>
-				
-				<div class="auto-tabs">
-					<ul>
-						<li>XML</li>
-						<li>PHP</li>
-					</ul>
- 
-					<div class="tab-content">
-						<div class="tab-pane">
-<pre class="prettyprint linenums"><![CDATA[
-<configuration xmlns="http://logging.apache.org/log4php/">
-    <appender name="default" class="LoggerAppenderSyslog">
-        <layout class="LoggerLayoutSimple" />
-        <param name="ident" value="log4php-test" />
-        <param name="facility" value="LOCAL0" />
-        <param name="option" value="NDELAY|PID" />
-    </appender>
-    <root>
-        <appender_ref ref="default" />
-    </root>
-</configuration>
-]]></pre>
-						</div>
-						<div class="tab-pane">
-<pre class="prettyprint linenums"><![CDATA[
-array(
-    'appenders' => array(
-        'default' => array(
-            'class' => 'LoggerAppenderSyslog',
-            'layout' => array(
-            	'class' => 'LoggerLayoutSimple',
-            ),
-            'params' => array(
-                'ident' => 'log4php-test',
-                'facility' => 'LOCAL0',
-                'option' => 'NDELAY|PID'
-            ),
-        ),
-    ),
-    'rootLogger' => array(
-        'appenders' => array('default'),
-    ),
-);
-]]></pre>
-						</div>
-					</div>
-				</div>
-			</subsection>
-		</section>
-	</body>
-</document>

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/src/site/xdoc/docs/configuration.xml
----------------------------------------------------------------------
diff --git a/src/site/xdoc/docs/configuration.xml b/src/site/xdoc/docs/configuration.xml
deleted file mode 100644
index 1e12a2e..0000000
--- a/src/site/xdoc/docs/configuration.xml
+++ /dev/null
@@ -1,285 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You 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.
--->
-<document xmlns="http://maven.apache.org/XDOC/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-	xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">
-
-	<properties>
-		<title>Configuration</title>
-	</properties>
-
-	<body>
-		<section name="Configuration">
-
-			<p>Most components of log4php have various settings which determing their behaviour. They can all be
-			configured programatically, but a much more common way is by providing the configuration options
-			in a file.</p>
-
-			<p>Log4php understands three configuration formats: XML, PHP and Properties, all of which are covered in 
-			more details in the following sections.</p>
-
-			<p>The configuration is passed to log4php by calling the static method <code>Logger::configure()</code>
-			before issuing any logging requests. In case log4php is not configured by the time a logging request is 
-			issued, log4php will configure itself using the <a href="#Default_configuration">default configuration</a>.</p>			
-			
-			<subsection name="XML" id="XML">
-			
-				<p>XML is the most common configuration format, and it is the most prominently featured in the 
-				documentation and examples.</p>
-				
-				<p>A simple configuration looks like this:</p>
-				
-<pre class="prettyprint linenums"><![CDATA[
-<?xml version="1.0" encoding="UTF-8"?>
-<configuration xmlns="http://logging.apache.org/log4php/">
-    <appender name="default" class="LoggerAppenderFile">
-        <layout class="LoggerLayoutSimple" />
-        <param name="file" value="/var/log/my.log" />
-        <param name="append" value="true" />
-    </appender>
-    <root>
-        <appender_ref ref="default" />
-    </root>
-</configuration>
-]]></pre>
-				
-				<p>Detailed instructions on configuring each component is outlined in the corresponding compomnent's 
-				documentation: 
-				<a href="loggers.html">loggers</a>, 
-				<a href="appenders.html">appenders</a>, 
-				<a href="layouts.html">layouts</a>,  
-				<a href="filters.html">filters</a>, 
-				<a href="renderers.html">renderers</a> 
-				</p>
-			</subsection>
-			
-			<subsection name="PHP" id="PHP">
-			
-				<p>Configuration can also be stored in a PHP array. This is the format used internally by log4php. All 
-				other formats are converted to a PHP array before being used by the configurator. Because of this, the 
-				PHP configuration format should be used when performance is important since it will avoid the overhead
-				of parsing the ini or XML file.</p>
-				
-				<p>This format can be used in one of two ways:</p>
-				
-				<p>The configuration array can directly be passed to <code>Logger::configure()</code>.</p>
-
-<pre class="prettyprint linenums">
-Logger::configure(array(
-    'rootLogger' => array(
-        'appenders' => array('default'),
-    ),
-    'appenders' => array(
-        'default' => array(
-            'class' => 'LoggerAppenderFile',
-            'layout' => array(
-                'class' => 'LoggerLayoutSimple'
-            ),
-            'params' => array(
-            	'file' => '/var/log/my.log',
-            	'append' => true
-            )
-        )
-    )
-));
-</pre>
-				
-				<p>Alternatively a file can be created which holds the PHP configuration array. The file must
-				have the <code>php</code> extension and it should <em>return</em> the configuration array. For example, 
-				a file named <code>config.php</code> with the following content:</p>
-				
-<pre class="prettyprint linenums">
-return array(
-    'rootLogger' => array(
-        'appenders' => array('default'),
-    ),
-    'appenders' => array(
-        'default' => array(
-            'class' => 'LoggerAppenderFile',
-            'layout' => array(
-                'class' => 'LoggerLayoutSimple'
-            ),
-            'params' => array(
-            	'file' => '/var/log/my.log',
-            	'append' => true
-            )
-        )
-    )
-);
-</pre>
-
-				<p>This file can then be used to configure log4php:</p>
-				
-				<pre class="prettyprint">Logger::configure('config.php');</pre>
-				
-				<div class="alert alert-info">
-					<p><strong>Hint:</strong> to translate a XML or properties configuration file to PHP, run the following code:</p>
-<pre class="prettyprint">
-$configurator = new LoggerConfiguratorDefault();
-$config = $configurator->parse('/path/to/config.xml');
-</pre>
-				</div>
-			</subsection>
-
-
-			<subsection name="Properties (INI)" id="INI">
-
-				<p>The properties configuration format is a legacy method of configuring log4php. It was inherited from 
-				<a href="logging.apache.org/log4j/1.2/manual.html">Apache log4j</a> and uses the same format. The only 
-				difference is that lines begin with <code>log4php</code> instead of <code>log4j</code>.</p>
-				
-				<div class="alert alert-warning">
-					<p>This format has been deprecated. Support will not be removed for the foreseeable future, however 
-					it may not be updated to include newly introduced features. It is recommended that you use either 
-					the <a href="#XML">XML</a> or <a href="#PHP">PHP</a> configuration format.</p>
-				</div>
-				
-				<p>The properites configuration format does not support filters.</p>
-				
-				<p>The following is a high level overview of this format:</p>
-				
-				
-<pre class="prettyprint">
-# Appender named "default"
-log4php.appender.default = LoggerAppenderEcho
-log4php.appender.default.layout = LoggerLayoutSimple
-
-# Appender named "file"
-log4php.appender.file = LoggerAppenderDailyFile
-log4php.appender.file.layout = LoggerLayoutPattern
-log4php.appender.file.layout.conversionPattern = %d{ISO8601} [%p] %c: %m (at %F line %L)%n
-log4php.appender.file.datePattern = Ymd
-log4php.appender.file.file = target/examples/daily_%s.log
-log4php.appender.file.threshold = warn
-
-# Root logger, linked to "default" appender
-log4php.rootLogger = DEBUG, default
-
-# Logger named "foo", linked to "default" appender
-log4php.logger.foo = warn, default
-
-# Logger named "foo.bar", linked to "file" appender
-log4php.logger.foo.bar = debug, file
-log4php.additivity.foo.bar = true
-
-# Logger named "foo.bar.baz", linked to both "file" and "default" appenders
-log4php.logger.foo.bar.baz = trace, default, file
-log4php.additivity.foo.bar.baz = false
-
-# Renderers for Fruit and Beer classes
-log4php.renderer.Fruit = FruitRenderer
-log4php.renderer.Beer = BeerRenderer
-
-# Setting base threshold
-log4php.threshold = debug
-</pre>
-			</subsection>
-
-			<subsection name="Default configuration" id="Default_configuration">
-				<p>If no configuration is provided before the initial logging request is issued, log4php will configure
-				using the default configuration. This consists of a single <code>LoggerAppenderEcho</code> appender,
-				using <code>LoggerLayoutSimple</code>, attached to the root logger and set to the DEBUG level.</p>
-				
-				<p>The default configuration in PHP format is:</p>
-				
-<pre class="prettyprint linenums">
-array(
-    'rootLogger' => array(
-        'appenders' => array('default'),
-    ),
-    'appenders' => array(
-        'default' => array(
-            'class' => 'LoggerAppenderConsole',
-            'layout' => array(
-                'class' => 'LoggerLayoutSimple'
-            )
-        )
-    )
-)
-</pre>
-
-				<div class="alert alert-info">
-					<p><strong>Hint:</strong> You can fetch the default configuration as a PHP array by running:</p>
-					<pre class="prettyprint">LoggerConfiguratorDefault::getDefaultConfiguration();</pre>
-				</div>
-			</subsection>
-			
-			<subsection name="Programmatic configuration">
-				
-				<p>It is possible to configure log4php fully programmatically. This requires the user to implement 
-				their own configurator object. Configurators must implement the <code>LoggerConfigurator</code> 
-				interface.</p>
-				
-				<p>Here is an example:</p>
-
-<pre class="prettyprint linenums">
-class MyConfigurator implements LoggerConfigurator {
-	
-    public function configure(LoggerHierarchy $hierarchy, $input = null) {
-
-        // Create an appender which logs to file
-        $appFile = new LoggerAppenderFile('foo');
-        $appFile->setFile('D:/Temp/log.txt');
-        $appFile->setAppend(true);
-        $appFile->setThreshold('all');
-        $appFile->activateOptions();
-        
-        // Use a different layout for the next appender
-        $layout = new LoggerLayoutPattern();
-        $layout->setConversionPattern("%date %logger %msg%newline");
-        $layout->activateOptions();
-        
-        // Create an appender which echoes log events, using a custom layout
-        // and with the threshold set to INFO 
-        $appEcho = new LoggerAppenderEcho('bar');
-        $appEcho->setLayout($layout);
-        $appEcho->setThreshold('info');
-        $appEcho->activateOptions();
-        
-        // Add both appenders to the root logger
-        $root = $hierarchy->getRootLogger();
-        $root->addAppender($appFile);
-        $root->addAppender($appEcho);
-    }
-}
-</pre>
-
-				<p>To use the configurator, pass it as a second parameter to <code>Logger::configure()</code> (either 
-				    the name of the class as a string or an instance). Any value passed as <code>$configuration</code>
-				    will be available in the configure() method of the LoggerConfigurator as <code>$input</code>.</p>
-
-<pre class="prettyprint linenums">
-// User defined configuration (optional) 
-$configuration = array(
-    'foo' => 1,
-    'bar' => 2
-);
-
-// Passing the configurator as string
-Logger::configure($configuration, 'MyConfigurator');
-
-// Passing the configurator as an instance
-Logger::configure($configuration, new MyConfigurator());
-</pre>
-				<div class="alert alert-warning">
-					<p><strong>Note: </strong>Always call <code>activateOptions()</code> on all appenders, filters and layouts after setting
-					their configuration parameters. Otherwise, the configuration may not be properly activated.</p>
-				</div>
-			</subsection>
-		</section>
-	</body>
-</document>

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/src/site/xdoc/docs/filters.xml
----------------------------------------------------------------------
diff --git a/src/site/xdoc/docs/filters.xml b/src/site/xdoc/docs/filters.xml
deleted file mode 100644
index 555205d..0000000
--- a/src/site/xdoc/docs/filters.xml
+++ /dev/null
@@ -1,327 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You 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.
--->
-<document xmlns="http://maven.apache.org/XDOC/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-	xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">
-
-	<properties>
-		<title>Filters</title>
-	</properties>
-
-	<body>
-		<section name="Filters">
-		
-			<p>Filtering is a mechanism which allows the user to configure more precisely which logging events will be
-			logged by an appender, and which will be ignored.</p>
-
-			<p>Multiple filters can be defined on any appender; they will form a filter chain. When a logging event is
-			passed onto an appender, the event will first pass through the filter chain. Each filter in the chain will
-			examine the logging event and make a decision to either:</p>
-			
-			<ol type="a">
-				<li><strong>ACCEPT</strong> the logging event - The event will be logged without consulting the 
-				remaining filters in the chain.</li>
-				<li><strong>DENY</strong> the logging event - The event will be not logged without consulting the 
-				remaining filters in the chain.</li>
-				<li>Remain <strong>NEUTRAL</strong> - No decision is made, therefore the next filter in the chain is 
-				consulted. If there are no remaining filters in the chain, the event is logged.</li>
-			</ol>
-			
-			<subsection name="Configuring filters" id="Configuring_filters">
-			
-				<p>Filters are configurable in the XML and PHP configuration format. They cannot be configured using
-				the properties configuration format.</p>
-				
-				<p>Like appenders and layouts, depending on the class used, filters may have configurable parameters 
-				which determine their behaviour.</p>
-			
-				<p>Here is a configuration example:</p>
-				
-				<div class="auto-tabs">
-					<ul>
-						<li>XML</li>
-						<li>PHP</li>
-					</ul>
- 
-					<div class="tab-content" >
-						<div class="tab-pane">
-<pre class="prettyprint linenums"><![CDATA[
-<configuration xmlns="http://logging.apache.org/log4php/">
-    <appender name="defualt" class="LoggerAppenderEcho">
-        <layout class="LoggerLayoutSimple"/>
-        <filter class="LoggerFilterStringMatch">
-            <param name="stringToMatch" value="interesting" />
-            <param name="acceptOnMatch" value="true" />
-        </filter>
-        <filter class="LoggerFilterLevelRange">
-            <param name="levelMin" value="debug" />
-            <param name="levelMax" value="error" />
-        </filter>
-    </appender>
-    <root>
-        <level value="TRACE" />
-        <appender_ref ref="defualt" />
-    </root>
-</configuration>
-]]></pre>
-
-						</div>
-						<div class="tab-pane">
-<pre class="prettyprint linenums"><![CDATA[
-array(
-    'appenders' => array(
-        'default' => array(
-            'class' => 'LoggerAppenderEcho'
-            'layout' => array(
-                'class' => 'LoggerLayoutSimple'
-            ),
-            'filters' => array(
-                array(
-                    'class' => 'LoggerFilterStringMatch',
-                    'params' => array(
-                        'stringToMatch' => 'interesting',
-                        'acceptOnMatch' => true,
-                    )
-                ),
-                array(
-                    'class' => 'LoggerFilterLevelRange',
-                    'params' => array(
-                        'levelMin' => 'debug',
-                        'levelMax' => 'error',
-                    )
-                )
-            )
-        )
-    ),
-    'rootLogger' => array(
-    	'appenders' => array('default'),
-    )
-)
-]]></pre>	
-						</div>
-					</div>
-				</div>
-				
-				<p>In this example, there are two filters defined for the <em>default</em> appender.</p>
-				
-				<p>The first filter <code>LoggerFilterStringMatch</code> searches for the string "interesting" in the 
-				logging event's message. If the string is found, the filter will ACCEPT the logging event, and the 
-				event will be logged. If the string is not found, the filter will remain NEUTRAL, and the event will be
-				passed on to the next filter.</p>
-				
-				<p>The second filter <code>LoggerFilterLevelRange</code> ACCEPTS all events which have a level between 
-				DEBUG and ERROR (in other words, levels DEBUG, INFO, WARN and ERROR). It DENIES all other events.</p>
-				
-				<p>Therefore, this filter configuration will log events which which have a level between DEBUG and 
-				ERROR, except of theose which have the string "interesting" in the message. Those will be logged 
-				regardless of their level.</p>
-			
-			</subsection>
-			
-			<subsection name="Filter reference">
-			
-				<p>The following filters are available in log4php:</p>
-				
-				<table>
-					<thead>
-						<tr>
-							<th>Name</th>
-							<th>Destination</th>
-						</tr>
-					</thead>
-					<tbody>
-						<tr>
-							<td><a href="#LoggerFilterDenyAll">LoggerFilterDenyAll</a></td>
-							<td>Denies all logging events.</td>
-						</tr>
-						<tr>
-							<td><a href="#LoggerFilterLevelMatch">LoggerFilterLevelMatch</a></td>
-							<td>Filters based on logging event level.</td>
-						</tr>
-						<tr>
-							<td><a href="#LoggerFilterLevelRange">LoggerFilterLevelRange</a></td>
-							<td>Filters based on logging event level range.</td>
-						</tr>
-						<tr>
-							<td><a href="#LoggerFilterStringMatch">LoggerFilterStringMatch</a></td>
-							<td>Filters by searching for a string in the logging event message.</td>
-						</tr>
-					</tbody>
-				</table>
-			</subsection>
-			
-			
-			<subsection name="LoggerFilterDenyAll" id="LoggerFilterDenyAll">
-				<p>This filters simply denies all logging events. It has no configurable parameters.</p>
-			</subsection>
-			
-			<subsection name="LoggerFilterLevelMatch" id="LoggerFilterLevelMatch">
-				<p>This filter either accepts the specified logger level or denies it.</p>
-				
-				<h4>Configurable parameters</h4>
-				
-				<table>
-					<thead>
-						<tr>
-							<th>Parameter</th>
-							<th>Type</th>
-							<th>Required</th>
-							<th>Default</th>
-							<th>Description</th>
-						</tr>
-					</thead>
-					<tbody>
-						<tr>
-							<td>levelToMatch</td>
-							<td>LoggerLevel</td>
-							<td><strong>Yes</strong></td>
-							<td>-</td>
-							<td>The level to match</td>
-						</tr>
-						<tr>
-							<td>acceptOnMatch</td>
-							<td>boolean</td>
-							<td>No</td>
-							<td>true</td>
-							<td>If true, the matching log level is accepted, denied otherwise.</td>
-						</tr>
-					</tbody>
-				</table>
-				
-				<h4>Example</h4>
-				
-				<p>The following filter configuration will deny all logging events with level DEBUG. It will remain 
-				neutral for others.</p>
-				
-<pre class="prettyprint linenums"><![CDATA[
-<filter class="LoggerFilterLevelMatch">
-    <param name="levelToMatch" value="debug" />
-    <param name="acceptOnMatch" value="false" />
-</filter>
-]]></pre>
-				
-			</subsection>
-			
-			<subsection name="LoggerFilterLevelRange" id="LoggerFilterLevelRange">
-				<p>This filter accepts or denies logging events if their log level is within the specified range.</p>
-				
-				<h4>Configurable parameters</h4>
-				
-				<table>
-					<thead>
-						<tr>
-							<th>Parameter</th>
-							<th>Type</th>
-							<th>Required</th>
-							<th>Default</th>
-							<th>Description</th>
-						</tr>
-					</thead>
-					<tbody>
-						<tr>
-							<td>levelMin</td>
-							<td>LoggerLevel</td>
-							<td><strong>Yes</strong></td>
-							<td>-</td>
-							<td>The minimum level to log. If set, levels lower than this will be denied.</td>
-						</tr>
-						<tr>
-							<td>levelMax</td>
-							<td>LoggerLevel</td>
-							<td><strong>Yes</strong></td>
-							<td>-</td>
-							<td>The maximum level to log. If set, levels higher than this will be denied.</td>
-						</tr>
-						<tr>
-							<td>acceptOnMatch</td>
-							<td>boolean</td>
-							<td>No</td>
-							<td>true</td>
-							<td>If true, the matching log level is accepted, denied otherwise.</td>
-						</tr>
-					</tbody>
-				</table>
-				
-				<h4>Example</h4>
-				
-				<p>The following filter configuration denies levels greater than WARN.</p>
-				
-<pre class="prettyprint linenums"><![CDATA[
-<filter class="LoggerFilterLevelRange">
-    <param name="levelMax" value="warn" />
-    <param name="acceptOnMatch" value="false" />
-</filter>
-]]></pre>
-				
-			</subsection>
-			
-			<subsection name="LoggerFilterStringMatch" id="LoggerFilterStringMatch">
-				<p>This filter allows or denies logging events if their message contains a given string.</p>
-				
-				<h4>Configurable parameters</h4>
-				
-				<table>
-					<thead>
-						<tr>
-							<th>Parameter</th>
-							<th>Type</th>
-							<th>Required</th>
-							<th>Default</th>
-							<th>Description</th>
-						</tr>
-					</thead>
-					<tbody>
-						<tr>
-							<td>stringToMatch</td>
-							<td>LoggerLevel</td>
-							<td><strong>Yes</strong></td>
-							<td>-</td>
-							<td>The level to match</td>
-						</tr>
-						<tr>
-							<td>levelMax</td>
-							<td>LoggerLevel</td>
-							<td><strong>Yes</strong></td>
-							<td>-</td>
-							<td>The level to match</td>
-						</tr>
-						<tr>
-							<td>acceptOnMatch</td>
-							<td>boolean</td>
-							<td>No</td>
-							<td>true</td>
-							<td>If true, the matching log level is accepted, denied otherwise.</td>
-						</tr>
-					</tbody>
-				</table>
-				
-				<h4>Example</h4>
-				
-				<p>The following filter configuration denies events which contain the string "not-interesting" in 
-				their message.</p>
-				
-<pre class="prettyprint linenums"><![CDATA[
-<filter class="LoggerFilterStringMatch">
-    <param name="StringToMatch" value="not-interesting" />
-    <param name="AcceptOnMatch" value="false" />
-</filter>
-]]></pre>
-				
-			</subsection>
-		</section>
-	</body>
-</document>

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/src/site/xdoc/docs/introduction.xml
----------------------------------------------------------------------
diff --git a/src/site/xdoc/docs/introduction.xml b/src/site/xdoc/docs/introduction.xml
deleted file mode 100644
index 6db5ca9..0000000
--- a/src/site/xdoc/docs/introduction.xml
+++ /dev/null
@@ -1,98 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You 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.
--->
-<document xmlns="http://maven.apache.org/XDOC/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-	xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">
-
-	<properties>
-		<title>Introduction</title>
-	</properties>
-
-	<body>
-		<section name="Introduction">
-			
-			<p>There are three main concepts in Apache log4php: loggers, appenders and layouts. These three types of 
-			components work together to enable developers to log messages according to message type and level, and to 
-			control at runtime how these messages are formatted and where they are reported.</p>
-			
-			<subsection name="Loggers" id="Loggers">
-				<p>A logger is a component which will take your logging request and log it. Each class in a project 
-				can have an individual logger, or they can all use a common logger. Loggers are named entities; it is 
-				common to name them after the class which will use it for logging.</p>
-			</subsection>
-			
-			<subsection name="Appenders" id="Appenders">
-				<p>Logging requests can be sent to multiple destinations and such destinations are called appenders. 
-				Appenders exist for console, files, syslog, database, sockets and other output destinations. One or 
-				more appenders can be attached to a logger. Each enabled logging request for a given logger will be 
-				forwarded to all the appenders in that logger.</p>
-			</subsection>
-			
-			<subsection name="Layouts" id="Layouts">
-				<p>Layouts are components responsible for transforming a logging event into a string. Most appender 
-				classes require a layout class to convert the event to a string so that it can be logged.</p>
-			</subsection>
-		
-			<subsection name="Levels" id ="Levels">
-				<p>A level describes the severity of a logging message. There are six levels, show here in descending order
-				of severity.</p>
-				
-				<table>
-					<thead>
-						<tr>
-							<th>Level</th>
-							<th>Severity</th>
-							<th>Description</th>
-						</tr>
-					</thead>
-					<tbody>
-						<tr>
-							<td>FATAL</td>
-							<td>Highest</td>
-							<td>Very severe error events that will presumably lead the application to abort.</td>
-						</tr>
-						<tr>
-							<td>ERROR</td>
-							<td>...</td>
-							<td>Error events that might still allow the application to continue running.</td>
-						</tr>
-						<tr>
-							<td>WARN</td>
-							<td>...</td>
-							<td>Potentially harmful situations which still allow the application to continue running.</td>
-						</tr>
-						<tr>
-							<td>INFO</td>
-							<td>...</td>
-							<td>Informational messages that highlight the progress of the application at coarse-grained level.</td>
-						</tr>
-						<tr>
-							<td>DEBUG</td>
-							<td>...</td>
-							<td>Fine-grained informational events that are most useful to debug an application.</td>
-						</tr>
-						<tr>
-							<td>TRACE</td>
-							<td>Lowest</td>
-							<td>Finest-grained informational events.</td>
-						</tr>
-					</tbody>
-				</table>
-			</subsection>
-		</section>
-	</body>
-</document>

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/src/site/xdoc/docs/layouts.xml
----------------------------------------------------------------------
diff --git a/src/site/xdoc/docs/layouts.xml b/src/site/xdoc/docs/layouts.xml
deleted file mode 100644
index 974f381..0000000
--- a/src/site/xdoc/docs/layouts.xml
+++ /dev/null
@@ -1,75 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You 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.
--->
-<document xmlns="http://maven.apache.org/XDOC/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-	xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">
-
-	<properties>
-		<title>Layouts</title>
-	</properties>
-
-	<body>
-		<section name="Layouts">
-		
-			<p>Layouts are components responsible for transforming a logging event into a string.</p>
-			
-			<p>More often than not, users wish to customize not only the output destination but also the output format. This is 
-  accomplished by associating a layout with an appender. All messages logged by that appender will use the given layout.</p>
-			
-			<subsection name="Layout reference" id="Layout_reference">
-				
-				<p>The following layout classes are available:</p>
-			
-				<table>
-					<thead>
-						<tr>
-							<th>Name</th>
-							<th>Description</th>
-						</tr>
-					</thead>
-					<tbody>
-						<tr>
-							<td><a href="layouts/html.html">LoggerLayoutHTML</a></td>
-							<td> Outputs events in a HTML table.</td>
-						</tr>
-						<tr>
-							<td><a href="layouts/pattern.html">LoggerLayoutPattern</a></td>
-							<td>A flexible layout configurable via a pattern string.</td>
-						</tr>
-						<tr>
-							<td><a href="layouts/simple.html">LoggerLayoutSimple</a></td>
-							<td>A simple, non configurable layout.</td>
-						</tr>
-						<tr>
-							<td><a href="layouts/serialized.html">LoggerLayoutSerialized</a></td>
-							<td>Outputs serialized objects.</td>
-						</tr>
-						<tr>
-							<td><a href="layouts/ttcc.html">LoggerLayoutTTCC</a></td>
-						    <td>Consists of Time, Thread, Category and nested diagnostic Context.
-						        <span class="label label-warning">DEPRECATED</span></td>
-						</tr>
-						<tr>
-							<td><a href="layouts/xml.html">LoggerLayoutXml</a></td>
-							<td>Outputs events as an XML document.</td>
-						</tr>
-					</tbody>
-				</table>
-			</subsection>
-		</section>
-	</body>
-</document>

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/src/site/xdoc/docs/layouts/html.xml
----------------------------------------------------------------------
diff --git a/src/site/xdoc/docs/layouts/html.xml b/src/site/xdoc/docs/layouts/html.xml
deleted file mode 100644
index ef77c4b..0000000
--- a/src/site/xdoc/docs/layouts/html.xml
+++ /dev/null
@@ -1,202 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You 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.
--->
-<document xmlns="http://maven.apache.org/XDOC/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-	xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">
-
-	<properties>
-		<title>LoggerLayoutHTML</title>
-	</properties>
-
-	<body>
-		<section name="LoggerLayoutHTML" id="LoggerLayoutHTML">
-		
-			<p>LoggerLayoutHTML formats the log as an HTML document.</p>
-		
-			<subsection name="Parameters">
-				<p>The following parameters are available:</p>
-		
-				<table>
-					<thead>
-						<tr>
-							<th>Parameter</th>
-							<th>Type</th>
-							<th>Required</th>
-							<th>Default</th>
-							<th>Description</th>
-						</tr>
-					</thead>
-					<tbody>
-						<tr>
-							<td>locationInfo</td>
-							<td>boolean</td>
-							<td>No</td>
-							<td>false</td>
-							<td>If set to true, adds the file name and line number at which the log statement originated.</td>
-						</tr>
-						<tr>
-							<td>title</td>
-							<td>string</td>
-							<td>No</td>
-							<td>Log4php Log Messages</td>
-							<td>Sets the <![CDATA[<title>]]> of the generated HTML document.</td>
-						</tr>
-					</tbody>
-				</table>
-				
-			</subsection>
-				
-			<subsection name="Examples">
-					
-				<p>Configuration:</p>
-				
-				<div class="auto-tabs">
-					<ul>
-						<li>XML</li>
-						<li>PHP</li>
-					</ul>
- 
-					<div class="tab-content" >
-						<div class="tab-pane">
-<pre class="prettyprint linenums"><![CDATA[
-<configuration xmlns="http://logging.apache.org/log4php/">
-    <appender name="default" class="LoggerAppenderEcho">
-        <layout class="LoggerLayoutHtml">
-            <param name="locationInfo" value="true" />
-        </layout>
-    </appender>
-    <root>
-        <appender_ref ref="default" />
-    </root>
-</configuration>
-]]></pre>
-						</div>
-						<div class="tab-pane">
-<pre class="prettyprint linenums"><![CDATA[
-array(
-    'appenders' => array(
-        'default' => array(
-            'class' => 'LoggerAppenderEcho',
-            'layout' => array(
-                'class' => 'LoggerLayoutHtml',
-            )
-        )
-    ),
-    'rootLogger' => array(
-        'appenders' => array('default')
-    ),
-)
-]]></pre>
-						</div>
-					</div>
-				</div>
-
-				<p>Running the following code:</p>
-
-<pre class="prettyprint linenums">
-Logger::configure("layout_xml.xml");
-$log = Logger::getRootLogger();
-$log->debug("Hello World!");
-$log->info("Hello World!");
-</pre>
-
-				<p>Produces the output as a HTML table:</p>
-
-				<table>
-					<thead>
-						<tr>
-							<th>Time</th>
-							<th>Thread</th>
-							<th>Level</th>
-							<th>Category</th>
-							<th>File:Line</th>
-							<th>Message</th>
-						</tr>
-					</thead>
-					<tbody>
-						<tr>
-							<td>0</td>
-							<td title="5868 thread">5868</td>
-							<td title="Level"><font color="#339933">DEBUG</font></td>
-							<td title="root category">root</td>
-							<td>D:\Projects\apache\log4php-config-adapters\src\examples\php\layout_html.php:23</td>
-							<td title="Message">Hello World!</td>
-						</tr>
-						
-						<tr>
-							<td>2</td>
-							<td title="5868 thread">5868</td>
-							<td title="Level">INFO</td>
-							<td title="root category">root</td>
-							<td>D:\Projects\apache\log4php-config-adapters\src\examples\php\layout_html.php:24</td>
-							<td title="Message">Hello World!</td>
-						</tr>
-					</tbody>
-				</table>
-
-				<p>Source of the output:</p>
-
-<pre class="prettyprint"><![CDATA[
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html>
-<head>
-    <title>Log4php Log Messages</title>
-    <style type="text/css">
-    <!--
-    body, table {font-family: arial,sans-serif; font-size: x-small;}
-    th {background: #336699; color: #FFFFFF; text-align: left;}
-    -->
-    </style>
-</head>
-<body bgcolor="#FFFFFF" topmargin="6" leftmargin="6">
-<hr size="1" noshade>
-Log session start time 09/22/11 13:19:23<br>
-<br>
-<table cellspacing="0" cellpadding="4" border="1" bordercolor="#224466" width="100%">
-    <tr>
-        <th>Time</th>
-        <th>Thread</th>
-        <th>Level</th>
-        <th>Category</th>
-        <th>File:Line</th>
-        <th>Message</th>
-    </tr>
-    <tr>
-        <td>0</td>
-        <td title="5868 thread">5868</td>
-        <td title="Level"><font color="#339933">DEBUG</font></td>
-        <td title="root category">root</td>
-        <td>D:\Projects\apache\log4php-config-adapters\src\examples\php\layout_html.php:23</td>
-        <td title="Message">Hello World!</td>
-    </tr>
-    <tr>
-        <td>2</td>
-        <td title="5868 thread">5868</td>
-        <td title="Level">INFO</td>
-        <td title="root category">root</td>
-        <td>D:\Projects\apache\log4php-config-adapters\src\examples\php\layout_html.php:24</td>
-        <td title="Message">Hello World!</td>
-    </tr>
-</table>
-<br>
-</body>
-</html>]]></pre>
-
-			</subsection>
-		</section>
-	</body>
-</document>


Mime
View raw message