logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ihabu...@apache.org
Subject [23/43] LOG4PHP-121: Reorganized classes into namespaces
Date Thu, 28 Nov 2013 16:03:53 GMT
http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/src/changes/changes.xml
----------------------------------------------------------------------
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
deleted file mode 100644
index 666469c..0000000
--- a/src/changes/changes.xml
+++ /dev/null
@@ -1,167 +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/changes/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/changes/1.0.0 http://maven.apache.org/xsd/changes-1.0.0.xsd">
-	<properties>
-		<title>Apache log4php changelog</title>
-	</properties>
-	<body>
-		<release version="2.3.0" date="SVN">
-			<action date="2012-10-07" type="fix" issue="LOG4PHP-163" dev="Ivan Habunek" due-to="Daniel Wong" due-to-email="dan at dsmwong dot com">LoggerPatternConverter formats max incorrectly</action>
-			<action date="2012-10-07" type="fix" issue="LOG4PHP-188" dev="Ivan Habunek">Events logged by upstream loggers even if disabled by level.</action>
-			<action date="2012-10-06" type="update" issue="LOG4PHP-186" dev="Ivan Habunek" due-to="Rasmus Lerdorf" due-to-email="rasmus at lerdorf dot com">Don't clear the entire stat cache on an append.</action>
-			<action date="2012-10-06" type="add" issue="LOG4PHP-141" dev="Ivan Habunek">Allow setting of a default renderer.</action>
-			<action date="2012-09-08" type="update" issue="LOG4PHP-120" dev="Ivan Habunek" due-to="Michal Vanek" due-to-email="michal dot vanek at gmail dot com">Fixed LoggerAppenderDailyFile to rollover on date change in long running scipts.</action>
-			<action date="2012-08-18" type="fix" issue="LOG4PHP-184" dev="Ivan Habunek">Re-enabled usage of PHP constants in config parameters.</action>
-			<action date="2012-05-29" type="update" dev="Ivan Habunek">Removed $_ENV and $_SERVER access from LoggerMDC.</action>
-		    <action date="2012-03-19" type="update" dev="Ivan Habunek">Made LoggerLayoutTTCC deprecated.</action>
-			<action date="2012-02-28" type="fix" issue="LOG4PHP-163" dev="Ivan Habunek">Fixed formatting bug in LoggerLayoutPattern.</action>
-			<action date="2012-02-28" type="update" issue="LOG4PHP-172" dev="Ivan Habunek">Rewritten pattern system to allow longer conversion words and some new ones.</action>
-			<action date="2012-02-28" type="add" issue="LOG4PHP-134" dev="Ivan Habunek">Added reconnectAttempts parameter to LoggerAppenderPDO. Adds support for reconnect if connection fails while appending.</action>
-			<action date="2012-03-26" type="add" issue="LOG4PHP-174" dev="Florian Semm">Firephp appender logs to Firebug console.</action>
-		</release>
-	    <release version="2.2.1" date="2012-02-18">
-	        <action date="2012-02-07" type="fix" issue="LOG4PHP-168" dev="Ivan Habunek">Fixed a bug which prevented configuration by passing a LoggerConfigurator instance.</action>
-	    	<action date="2012-01-29" type="fix" issue="LOG4PHP-167" dev="Ivan Habunek">Fixed a bug which prevented parsing of INI configuration files when using PHP 5.2.x.</action>
-	        <action date="2011-12-22" type="update" issue="LOG4PHP-166" dev="Ivan Habunek" due-to="David Hilowitz" due-to-email="dhilowitz at gmail dot com">Added connection timeout parameter to MongoDB appender.</action>
-	    </release>
-	    <release version="2.2.0" date="2011-12-20">
-			<action date="2011-12-13" type="fix" issue="LOG4PHP-158" dev="Ivan Habunek">LoggerAppenderFile throws wrong warning messages.</action>
-	    	<action date="2011-12-12" type="update" issue="LOG4PHP-161" dev="Ivan Habunek">All configurable components should report errors when given invalid values</action>
-	    	<action date="2011-12-10" type="update" issue="LOG4PHP-165" dev="Ivan Habunek" due-to="Johannes Wohlgemuth" due-to-email="j dot wohlgemuth at findologic dot com">Extended LoggerLayoutXml to include MDC info</action>
-	    	<action date="2011-12-09" type="fix" issue="LOG4PHP-162" dev="Ivan Habunek">Warning for invalid appender threshold level never called.</action>
-	    	<action date="2011-12-08" type="fix" issue="LOG4PHP-114" dev="Ivan Habunek">Order of params in LoggerAppenderDailyFile configuration is significant.</action>
-	    	<action date="2011-12-08" type="update" issue="LOG4PHP-154" dev="Ivan Habunek">Rewritten LoggerAppenderSocket to use a layout.</action>
-	    	<action date="2011-12-04" type="add" issue="LOG4PHP-160" dev="Ivan Habunek" due-to="Florian Semm" due-to-email="florian dot semm at gmx dot de">Appeneders should use a default layout is no layout is specified in configuration</action>
-	    	<action date="2011-10-23" type="add" issue="LOG4PHP-155" dev="Ivan Habunek">Created a new layout LoggerLayoutSerialized which formats events as serialized objects.</action>
-	    	<action date="2011-10-23" type="fix" issue="LOG4PHP-159" dev="Ivan Habunek" due-to="Justin Cherniak" due-to-email="justin dot cherniak at gmail dot com">Appenders do not close gracefully if a fatal error occurs.</action>
-	    	<action date="2011-10-15" type="fix" issue="LOG4PHP-101" dev="Ivan Habunek">Wrong order in configuration breaks logging.</action>
-	    	<action date="2011-10-15" type="update" issue="LOG4PHP-152" dev="Ivan Habunek">A rewrite of the configurator.</action>
-			<action date="2011-09-11" type="fix" issue="LOG4PHP-147" dev="Ivan Habunek">Bugs during HipHop build</action>
-			<action date="2011-09-07" type="update" issue="LOG4PHP-151" dev="Ivan Habunek">Move common appender methods to parent class</action>
-	    	<action date="2011-09-03" type="fix" issue="LOG4PHP-145" dev="Ivan Habunek">The syslog appender does not correctly parse options</action>
-	    	<action date="2011-08-31" type="remove" issue="LOG4PHP-149" dev="Ivan Habunek">Remove deprecated appender LoggerAppenderAdodb</action>
-	    	<action date="2011-08-31" type="fix" issue="LOG4PHP-148" dev="Ivan Habunek">LoggerUserFieldPatternConverter class missing in log4php archive</action>
-	    	<action date="2011-08-18" type="update" issue="LOG4PHP-137" dev="Ivan Habunek">Improve pear build.</action>
-	        <action date="2011-07-14" type="fix" issue="LOG4PHP-143" dev="Ivan Habunek" due-to="Justin Cherniak" due-to-email="justin dot cherniak at gmail dot com">LoggerConfiguratorPhp does not accept integer constants for appender threshold</action>
-	    </release>
-	    <release version="2.1.0" date="2011-07-13" description="Stabilizing">
-			<action date="2011-06-01" type="fix" issue="LOG4PHP-138" dev="Christian Grobmeier">Permission denied while renaming log file when hundred of users are accessing the application</action>
-			<action date="2011-05-28" type="fix" issue="LOG4PHP-140" dev="Ivan Habunek">Fixed incorrect usage of changes.xml</action>
-			<action date="2011-05-28" type="fix" issue="LOG4PHP-129" dev="Ivan Habunek">Log4PHP causes odd errors in the underlying application if used with source having an existing __autoload function</action>
-			<action date="2011-05-20" type="fix" issue="LOG4PHP-122" dev="Ivan Habunek" due-to="Moritz Schmidt" due-to-email="fusselwurm at gmail dot com">RendererMap::getByClassName doesnt recognize instances of child classes</action>
-			<action date="2011-05-20" type="fix" issue="LOG4PHP-123" dev="Ivan Habunek" due-to="Moritz Schmidt" due-to-email="fusselwurm at gmail dot com">LoggerConfiguratorPhp does not parse renderer configuration</action>
-			<action date="2011-05-15" type="fix" issue="LOG4PHP-110" dev="Ivan Habunek" due-to="Vladimir Gorej" due-to-email="binarygroop at gmail dot com">Adapted MongoDB appender to better fit in log4php codebase.</action>
-			<action date="2011-02-15" type="fix" issue="LOG4PHP-126" dev="Christian Grobmeier" due-to="Peter Chapman" due-to-email="pchapman at pobox dot com">LoggerConfiguratorPhp does not appear to respect appender file property from config</action>
-			<action date="2011-02-15" type="fix" issue="LOG4PHP-118" dev="Christian Grobmeier" due-to="Craig Marvelley" due-to-email="craig dot marvelley at boxuk dot com">Additivity cannot be disabled through log4php.properties ini file.</action>
-			<action date="2011-02-15" type="add" issue="LOG4PHP-110" dev="Christian Grobmeier" due-to="Vladimir Gorej" due-to-email="binarygroop at gmail dot com">Added MongoDB appender</action>
-			<action date="2011-01-16" type="fix" issue="LOG4PHP-131" dev="Ivan Habunek">File appenders parameters (removed overloading of setFile()).</action>
-			<action date="2011-01-12" type="fix" issue="LOG4PHP-133" dev="Ivan Habunek" due-to="Dmitry Katemirov" due-to-email="dmitry at infozonelab dot com">PDO appender doesn't close connections</action>
-			<action date="2011-01-11" type="fix" dev="Ivan Habunek">Replaced calls to deprecated PHPUnit method assertTypeOf() with assertInternalType() and assertInstanceOf().</action>
-			<action date="2010-09-18" type="fix" issue="LOG4PHP-104" dev="Ivan Habunek">Refactored LoggerNDC and added tests</action>
-			<action date="2010-09-18" type="fix" issue="LOG4PHP-105" dev="Ivan Habunek">LoggerMDC needs refactoring + tests</action>
-			<action date="2010-09-18" type="update" dev="Ivan Habunek">Added __toString magic method to LoggerLevel.</action>
-			<action date="2010-07-20" type="fix" issue="LOG4PHP-117" dev="Ivan Habunek" due-to="Maciej Mazur" due-to-email="mamciek at gmail dot com">LoggerConfiguratorIni::configure() and unexptected results from error_get_last()</action>
-			<action date="2010-07-20" type="fix" issue="LOG4PHP-113" dev="Ivan Habunek">Milliseconds do not change when using LoggerLayoutPattern</action>
-			<action date="2010-06-18" type="fix" issue="LOG4PHP-115" dev="Christian Grobmeier" due-to="Vaceletm" due-to-email="manuel dot vacelet at gmail dot com">Instanciate LoggerAppenderPDO by hand throw exception</action>
-			<action date="2010-06-18" type="update" issue="LOG4PHP-36" dev="Christian Grobmeier" due-to="Moritz Schmidt" due-to-email="fusselwurm at gmail dot com">PHP Configurator: set remaining properties to appenders</action>
-			<action date="2010-06-18" type="update" issue="LOG4PHP-110" dev="Christian Grobmeier" due-to="Vladimir Gorej" due-to-email="binarygroop at gmail dot com">MongoDB: improved exception handling</action>
-			<action date="2010-05-27" type="fix" issue="LOG4PHP-112" dev="Christian Grobmeier" due-to="Darja Ryazhskikh" due-to-email="ifndef at yandex dot ru">Logging ClassName doesn't work</action>
-			<action date="2010-05-04" type="update" issue="LOG4PHP-108" dev="Christian Grobmeier" due-to="Ivan Habunek" due-to-email="ivan dot habunek at gmail dot com">Improved add HTML line break feature in LoggerAppenderEcho</action>
-			<action date="2010-04-23" type="update" issue="LOG4PHP-109" dev="Christian Grobmeier" due-to="Vladimir Gorej" due-to-email="binarygroop at gmail dot com">patch for Throwable information associated with logging event</action>
-			<action date="2010-04-22" type="update" issue="LOG4PHP-111" dev="Christian Grobmeier" due-to="Ivan Habunek" due-to-email="ivan dot habunek at gmail dot com">Documentation: Problem using a custom ConversionPattern</action>
-			<action date="2010-04-22" type="add" issue="LOG4PHP-108" dev="Christian Grobmeier" due-to="Florian Platzer" due-to-email="florian dot platzer at kfv dot at ">Add HTML line break to LoggerAppenderEcho output</action>
-			<action date="2010-03-25" type="fix" dev="Christian Hammers">Lowered pear_installer version dependency to 1.7.0</action>
-			<action date="2010-03-22" type="update" dev="Christian Grobmeier" due-to="Ivan Habunek" due-to-email="ivan dot habunek at gmail dot com">Included new LoggerLayoutPattern tests</action>
-			<action date="2010-03-22" type="fix" issue="LOG4PHP-103" dev="Christian Grobmeier" due-to="Moritz Schmidt" due-to-email="fusselwurm at gmail dot com">Exception when using more than one LoggerAppenderFile</action>
-			<action date="2010-03-22" type="fix" issue="LOG4PHP-102" dev="Christian Grobmeier" due-to="Ivan Habunek" due-to-email="ivan dot habunek at gmail dot com">LoggerLayoutPattern fails tests</action>
-			<action date="2010-03-22" type="update" issue="LOG4PHP-100" dev="Christian Grobmeier" due-to="Moritz Schmidt" due-to-email="fusselwurm at gmail dot com">Directly assign an array on Logger PHP configuration</action>
-			<action date="2010-02-20" type="add" issue="LOG4PHP-95" dev="Christian Grobmeier" due-to="Ivan Habunek" due-to-email="ivan dot habunek at gmail dot com">Add trace level to Log4PHP</action>
-			<action date="2010-01-29" type="fix" issue="LOG4PHP-96" dev="Christian Grobmeier" due-to="Tommy Montgomery">Some of the tests don't pass under Windows</action>
-			<action date="2010-01-05" type="fix" issue="LOG4PHP-93" dev="Christian Grobmeier" due-to="Hiroaki Kawai" due-to-email="kawai at apache dot org ">LoggerClassNamePatternConverter accessing private property</action>
-			<action date="2010-01-05" type="fix" issue="LOG4PHP-91" dev="Christian Grobmeier" due-to="Dan Barkwell" due-to-email="dan at barkwell dot com">LoginOptionConverter.php (used wrong constant name)</action>
-		</release>
-		<release version="2.0.0" date="2009-12-12" description="PHP 5 compatibility">
-			<action type="fix" issue="LOG4PHP-3">Maven 2.0 build</action>
-			<action type="fix" issue="LOG4PHP-7">Updated source file headers with current ASF notice</action>
-			<action type="fix">PHP 5 compatibility modification.</action>
-			<action type="fix" issue="LOG4PHP-1" dev="Christian Grobmeier">removed all @author tags. All contributors are named (with task) in the changelog file</action>
-			<action type="fix" issue="LOG4PHP-4" dev="Michael Aichler">Fatal error for constructor in LoggerAppenderRollingFile</action>
-			<action type="fix" issue="LOG4PHP-5" dev="Michael Aichler">LoggerAppenderRollingFile unable to open file and append logs</action>
-			<action type="fix" issue="LOG4PHP-7" dev="Curt Arnold">Change copyright notices to conform to the Source Header and Copyright Notice Policy</action>
-			<action type="fix" issue="LOG4PHP-9" dev="Christian Grobmeier">log4php.dtd should be reviewed</action>
-			<action type="fix" issue="LOG4PHP-11" dev="Hiroaki Kawai">trailing "\n"</action>
-			<action type="fix" issue="LOG4PHP-12" dev="Knut Urdalen">LoggerAppenderFile does not create missing directories</action>
-			<action type="fix" issue="LOG4PHP-13" dev="Michael Aichler">LoggerPropertyConfigurator: Only variables should be assigned by reference</action>
-			<action type="fix" issue="LOG4PHP-14" dev="Michael Aichler">LoggerPropertySetter: warnings about is_a() and non-static method</action>
-			<action type="fix" issue="LOG4PHP-15" dev="Michael Aichler">Logger: warnings about is_a()</action>
-			<action type="fix" issue="LOG4PHP-16" dev="Gary Richardson">Patch for LoggerAppenderSyslog to use Layouts</action>
-			<action type="fix" issue="LOG4PHP-17" dev="Yomei Komiya">%l Pattern layout raises a protected property access error</action>
-			<action type="fix" issue="LOG4PHP-18" dev="Yomei Komiya">Date pattern %d conversion is invalid</action>
-			<action type="fix" issue="LOG4PHP-19" dev="Yomei Komiya">Logger location info is invalid in log outputs of Logger's subclasses</action>
-			<action type="fix" issue="LOG4PHP-20" dev="Corin Lawson">Custom layout for LoggerAppenderPhp</action>
-			<action type="fix" issue="LOG4PHP-22" dev="Christian Grobmeier">log4php.dtd invalid</action>
-			<action type="fix" issue="LOG4PHP-23" dev="Christian Grobmeier">Mixed PHP4 and PHP5 syntax</action>
-			<action type="fix" issue="LOG4PHP-24" dev="Dennis Korbar">LoggerAppenderRollingFile unable to rollover</action>
-			<action type="fix" issue="LOG4PHP-25" dev="Christian Hammers, Knut Urdalen">Allow to set environment variables in LoggerOptionConverter</action>
-			<action type="fix" issue="LOG4PHP-28" dev="Michael Kuenzli, Knut Urdalen">LoggerAppenderConsole doesn't write to STDERR</action>
-			<action type="fix" issue="LOG4PHP-33" dev="Knut Urdalen">Appenders is not properly closed upon destruction</action>
-			<action type="update" issue="LOG4PHP-29" dev="Knut Urdalen">Load classes through autoload instead of explicitly include them</action>
-			<action type="update" issue="LOG4PHP-30" dev="Christian Grobmeier">Implement LoggerAppenderPDO</action>
-			<action type="update" issue="LOG4PHP-31" dev="Knut Urdalen">Removing unnecessary use of LOG4PHP_DIR</action>
-			<action type="update" issue="LOG4PHP-32" dev="Knut Urdalen, Christian Grobmeier">Refactor from using define to class contants (Knut Urdalen, Christian Grobmeier)</action>
-			<action type="update" issue="LOG4PHP-34" dev="Christian Grobmeier">Remove all internal debugging</action>
-			<action type="update" issue="LOG4PHP-35" dev="Knut Urdalen">Replace LOG4PHP_LINE_SEP with PHP_EOL</action>
-			<action type="update" issue="LOG4PHP-37" dev="Christian Grobmeier">removed LoggerAppenderDB in favour to LoggerAppenderPDO</action>
-			<action type="update" issue="LOG4PHP-38" dev="Knut Urdalen">Replace is_a() with instanceof</action>
-			<action type="update" issue="LOG4PHP-39" dev="Knut Urdalen">Remove deprecated methods</action>
-			<action type="update" issue="LOG4PHP-40" dev="Christian Grobmeier">Merge LoggerAppender and LoggerAppenderSkeleton</action>
-			<action type="update" issue="LOG4PHP-43" dev="Knut Urdalen">Remove size restriction of MDC table in LoggerMDC</action>
-			<action type="update" issue="LOG4PHP-44" dev="Knut Urdalen">PEAR package</action>
-			<action type="fix" issue="LOG4PHP-46" dev="Christian Hammers">Use PreparedStatement in PDO-Appender</action>
-			<action type="fix" issue="LOG4PHP-47" dev="Christian Hammers">PDO Appender now uses quote() due to PreparedStatements</action>
-			<action type="update" issue="LOG4PHP-50" dev="Christian Grobmeier">Create more File Appender Tests</action>
-			<action type="update" issue="LOG4PHP-52" dev="Christian Grobmeier">Use of custom factorys is discouraged - clean up</action>
-			<action type="update" issue="LOG4PHP-53" dev="Christian Grobmeier">Removed references were appropriate</action>
-			<action type="fix" issue="LOG4PHP-54" dev="Christian Grobmeier">PHPDoc is wrong due to class movements - clean up</action>
-			<action type="update" issue="LOG4PHP-56" dev="Christian Grobmeier">Replace define('LOG4PHP_CONFIGURATION' by static variable</action>
-			<action type="update" issue="LOG4PHP-57" dev="Christian Grobmeier">Make use of destructors instead of Logger::shutdown</action>
-			<action type="fix" issue="LOG4PHP-59" dev="Christian Grobmeier, Christian Hammers">LoggerAppenderConsole is initialized wrong</action>
-			<action type="update" issue="LOG4PHP-60" dev="Christian Hammers">Improved quickstart.apt</action>
-			<action type="update" issue="LOG4PHP-62" dev="Christian Hammers">Does not print warning if ini file is corrupt</action>
-			<action type="update" issue="LOG4PHP-63" dev="Christian Hammers">PDOAppender should throw LoggerException on database problems</action>
-			<action type="fix" issue="LOG4PHP-64" dev="Christian Hammers">Remove deprecated call-by-reference in LoggerLayoutPattern</action>
-			<action type="fix" issue="LOG4PHP-65" dev="Christian Grobmeier">Mixing protected and private in Logger and the inheriting LoggerRoot</action>
-			<action type="fix" issue="LOG4PHP-66" dev="Christian Hammers">LoggerConfiguratorBasicTest fails in "mvn test" but not in phpunit</action>
-			<action type="fix" issue="LOG4PHP-67" dev="Christian Hammers">Refactoring: Use Logger instead of LoggerManager</action>
-			<action type="fix" issue="LOG4PHP-71" dev="Christian Grobmeier">Using LoggerAppenderFile logging to the log file in one Apache session blocks every other Apache session that tries to write to the file until the original request has been processed</action>
-			<action type="fix" issue="LOG4PHP-76" dev="Dan Hansen">Unable to configure socket appender with attribute useXml = true</action>
-			<action type="fix" issue="LOG4PHP-77" dev="Dan Hansen">LoggerReflectionUtils::setter() should be defined as a static method</action>
-			<action type="fix" issue="LOG4PHP-79" dev="Christian Hammers">Increased field sizes in AppenderPDO database tables</action>
-			<action type="fix" issue="LOG4PHP-80" dev="Christian Hammers">An exception is now thrown if an unknown property is set via config file</action>
-			<action type="fix" issue="LOG4PHP-81" dev="Christian Hammers">Boolean values in .properties files are now correctly parsed</action>
-			<action type="fix" issue="LOG4PHP-82" dev="Christian Hammers">Added more examples to the API docs</action>
-			<action type="fix" issue="LOG4PHP-84" dev="Christian Hammers">Fixed call of undefined method when using RendererMap</action>
-			<action type="fix" issue="LOG4PHP-86" dev="Christian Hammers">LoggerAppenderRollingFile should not fail if the file does not already exist</action>
-			<action type="fix" dev="Christian Grobmeier">LoggerXmlConfigurator can now interpret threshold commands at appender level</action>
-			<action type="update" dev="Knut Urdalen">Initial port to PHP 5</action>
-			<action type="update" dev="Knut Urdalen">Established new unit test suite</action>
-			<action type="update" dev="Knut Urdalen">Added a range of examples</action>
-			<action type="update">Created common ReflectionUtils class and moved factory calls to there</action>
-		</release>
-	</body>
-</document>

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/src/examples/php/appender_console.php
----------------------------------------------------------------------
diff --git a/src/examples/php/appender_console.php b/src/examples/php/appender_console.php
deleted file mode 100644
index 1803e39..0000000
--- a/src/examples/php/appender_console.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-/**
- * 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.
- */
-// START SNIPPET: doxia
-require_once dirname(__FILE__).'/../../main/php/Logger.php';
-Logger::configure(dirname(__FILE__).'/../resources/appender_console.properties');
-
-$logger = Logger::getRootLogger();
-$logger->debug("Hello World!");

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/src/examples/php/appender_dailyfile.php
----------------------------------------------------------------------
diff --git a/src/examples/php/appender_dailyfile.php b/src/examples/php/appender_dailyfile.php
deleted file mode 100644
index 6cd78d8..0000000
--- a/src/examples/php/appender_dailyfile.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-/**
- * 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.
- */
-// START SNIPPET: doxia
-require_once dirname(__FILE__).'/../../main/php/Logger.php';
-Logger::configure(dirname(__FILE__).'/../resources/appender_dailyfile.properties');
-
-$logger = Logger::getRootLogger();
-$logger->debug("Hello World!");

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/src/examples/php/appender_echo.php
----------------------------------------------------------------------
diff --git a/src/examples/php/appender_echo.php b/src/examples/php/appender_echo.php
deleted file mode 100644
index b96f1b0..0000000
--- a/src/examples/php/appender_echo.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-/**
- * 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.
- */
-// START SNIPPET: doxia
-require_once dirname(__FILE__).'/../../main/php/Logger.php';
-
-Logger::configure(dirname(__FILE__).'/../resources/appender_echo.properties');
-$logger = Logger::getLogger('appender_echo');
-$logger->debug("Hello World!");

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/src/examples/php/appender_file.php
----------------------------------------------------------------------
diff --git a/src/examples/php/appender_file.php b/src/examples/php/appender_file.php
deleted file mode 100644
index 45a9359..0000000
--- a/src/examples/php/appender_file.php
+++ /dev/null
@@ -1,22 +0,0 @@
-<?php
-/**
- * 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.
- */
-// START SNIPPET: doxia
-require_once dirname(__FILE__).'/../../main/php/Logger.php';
-Logger::configure(dirname(__FILE__).'/../resources/appender_file.properties');
-$logger = Logger::getRootLogger();
-$logger->debug("Hello World!");

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/src/examples/php/appender_firephp.php
----------------------------------------------------------------------
diff --git a/src/examples/php/appender_firephp.php b/src/examples/php/appender_firephp.php
deleted file mode 100644
index 6fd2277..0000000
--- a/src/examples/php/appender_firephp.php
+++ /dev/null
@@ -1,120 +0,0 @@
-<?php
-/**
- * Appender_Firephp example. Copy this file into your DOCUMENT_ROOT
- *
- * 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.
- *
- * PHP version 5
- *
- * @category  Example
- * @package   LoggerAppenderFirephp
- * @author    Bruce Ingalls <Bruce.Ingalls-at-gmail-dot-com>
- * @copyright 2012 Apache Software Foundation
- * @license   Apache License, Version 2.0
- * @version   SVN: $Id:$
- * @link      http://sourcemint.com/github.com/firephp/firephp/1:1.0.0b1rc6/-docs/Configuration/Constants
- * @link      https://github.com/Seldaek/monolog/blob/master/src/Monolog/Handler/FirePHPHandler.php
- * @since     Feb 22, 2012
- * @internal  CodeSniffs as PEAR, adapted to Apache style. Phpmd clean.
- */
-
-//Change next line to URL path following domain. I.e. chop off 'http://localhost'
-define('INSIGHT_SERVER_PATH', $_SERVER['REQUEST_URI']);
-//define('INSIGHT_SERVER_PATH', $_SERVER['SCRIPT_NAME']);
-define('INSIGHT_DEBUG', true);  //Comment, after config is debugged, to remove 'Flushing headers'
-define('INSIGHT_IPS', '*');		//Your IP here for extra security
-//Works, but replace next line with free key from Developer Companion, for security on live sites
-define('INSIGHT_AUTHKEYS', '*');
-define('INSIGHT_PATHS', dirname(__FILE__));
-
-//EDIT YOUR FirePHP LOCATION HERE
-// If using ZIP Archive
-//TODO: Add 'lib/' of extracted archive to include path
-require_once 'FirePHP/Init.php';	//Must be declared before log4php
-
-// If using PHAR Archive (php 5.3+)
-//require_once('phar://.../firephp.phar/FirePHP/Init.php');
-// TODO: Replace ----^^^
-
-
-
-require_once dirname(__FILE__).'/../../main/php/Logger.php';
-
-Logger::configure(dirname(__FILE__).'/../resources/appender_firephp.xml');
-
-?>
-<!-- RUN THIS FROM WEB DOCUMENT_ROOT (~/public_html/ or /var/www/) -->
-
-<h1>FirePHP appender test &amp; configuration</h1>
-<h2>Requirements</h2>
-<ul>
-	<li>
-		<a href="http://logging.apache.org/log4php/">Apache log4php</a>
-		&gt;= v2.2.2
-	</li>
-	<li>
-		<a href="http://getfirebug.com/">Mozilla Firebug</a> with console &amp; net enabled.
-	</li>
-	<li>
-		<a href="http://sourcemint.com/github.com/firephp/firephp/1:1.0.0b1rc6/-docs/Welcome"
-		   >FirePHP >= 1.0</a> (beta, as of March 2012) server lib &amp; Firefox plugin.
-		   This one is also referred to as <i>Insight</i> or <i>Developer's Companion</i>
-	</li>
-</ul>
-
-<h2>Untested (or not supported)</h2>
-<ul>
-	<li>Old versions of Mozilla Firefox</li>
-	<li>
-		Versions of FirePHP prior to <b>v1.0beta</b>!
-		Currently, this is the default at addons.mozilla.org !
-	</li>
-	<li>
-		<a href="https://github.com/Seldaek/monolog/blob/master/src/Monolog/Handler/FirePHPHandler.php"
-		   >Monolog</a>
-	</li>
-	<li>*FirePHP* for Google Chrome</li>
-	<li>No other browser currently has a similar plugin</li>
-</ul>
-
-<h2>Instructions</h2>
-<ul>
-	<li>Install the requirements above, following their instructions</li>
-	<li>If you installed the phar package, edit its location at the top of this file</li>
-	<li>Ensure this file has web server read permissions in <code>DOCUMENT_ROOT</code></li>
-	<li>
-		Copy <code>appender_firephp.xml</code> to log4php.xml into your DOCUMENT_ROOT
-		<small>(Note that log4php.xml runs LogggerAppenderFirephp at debug level)</small>
-	</li>
-	<li>Optional: launch Developer Companion. Follow its instructions to generate a key</li>
-	<li>Open the Firebug console (window), and enable <i>Console</i> &amp; <i>Net</i></li>
-	<li>Reload Firefox</li>
-	<li>
-		If the greeting in Firebug console displays with problems, click on it,
-		to see a stack trace
-	</li>
-	<li>
-		Comment out <b><code>define('INSIGHT_DEBUG', true);</code></b> at the top of
-		this file, to disable the notice:
-		<small style="border: 2px solid black; background-color: red;">
-			<span style="font-weight: bold;">[INSIGHT]</span> Flushing headers
-		</small>
-	</li>
-</ul>
-
-<h2>If you see a greeting in Firebug, you can now return to work!</h2>
-
-<?php
-$log = Logger::getLogger('FirePhp_Example_Logger_Name');
-$log->debug('Congrats! Enjoy log4php with FirePHP!');
-

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/src/examples/php/appender_mail.php
----------------------------------------------------------------------
diff --git a/src/examples/php/appender_mail.php b/src/examples/php/appender_mail.php
deleted file mode 100644
index f1815ff..0000000
--- a/src/examples/php/appender_mail.php
+++ /dev/null
@@ -1,24 +0,0 @@
-<?php
-/**
- * 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.
- */
-// START SNIPPET: doxia
-require_once dirname(__FILE__).'/../../main/php/Logger.php';
-
-Logger::configure(dirname(__FILE__).'/../resources/appender_mail.properties');
-$logger = Logger::getRootLogger();
-$logger->fatal("Some critical message!");
-$logger->fatal("Some more critical message!");

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/src/examples/php/appender_mailevent.php
----------------------------------------------------------------------
diff --git a/src/examples/php/appender_mailevent.php b/src/examples/php/appender_mailevent.php
deleted file mode 100644
index 2921ff0..0000000
--- a/src/examples/php/appender_mailevent.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-/**
- * 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.
- */
-// START SNIPPET: doxia
-require_once dirname(__FILE__).'/../../main/php/Logger.php';
-
-Logger::configure(dirname(__FILE__).'/../resources/appender_mailevent.properties');
-$logger = Logger::getRootLogger();
-$logger->fatal("Some critical message!");

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/src/examples/php/appender_mongodb.php
----------------------------------------------------------------------
diff --git a/src/examples/php/appender_mongodb.php b/src/examples/php/appender_mongodb.php
deleted file mode 100644
index b3d8b73..0000000
--- a/src/examples/php/appender_mongodb.php
+++ /dev/null
@@ -1,22 +0,0 @@
-<?php
-/**
- * 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.
- */
-require_once dirname(__FILE__).'/../../main/php/Logger.php';
-Logger::configure(dirname(__FILE__).'/../resources/appender_mongodb.xml');
-
-$logger = Logger::getLogger('main');
-$logger->debug("Hello World!");

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/src/examples/php/appender_null.php
----------------------------------------------------------------------
diff --git a/src/examples/php/appender_null.php b/src/examples/php/appender_null.php
deleted file mode 100644
index 82fbe8a..0000000
--- a/src/examples/php/appender_null.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-/**
- * 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.
- */
-// START SNIPPET: doxia
-require_once dirname(__FILE__).'/../../main/php/Logger.php';
-
-Logger::configure(dirname(__FILE__).'/../resources/appender_null.properties');
-$logger = Logger::getRootLogger();
-$logger->fatal("Hello World!");

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/src/examples/php/appender_pdo.php
----------------------------------------------------------------------
diff --git a/src/examples/php/appender_pdo.php b/src/examples/php/appender_pdo.php
deleted file mode 100644
index f695c5e..0000000
--- a/src/examples/php/appender_pdo.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-/**
- * 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.
- */
-// START SNIPPET: doxia
-require_once dirname(__FILE__).'/../../main/php/Logger.php';
-
-Logger::configure(dirname(__FILE__).'/../resources/appender_pdo.properties');
-$logger = Logger::getRootLogger();
-$logger->fatal("Hello World!");

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/src/examples/php/appender_php.php
----------------------------------------------------------------------
diff --git a/src/examples/php/appender_php.php b/src/examples/php/appender_php.php
deleted file mode 100644
index fd5816a..0000000
--- a/src/examples/php/appender_php.php
+++ /dev/null
@@ -1,22 +0,0 @@
-<?php
-/**
- * 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.
- */
-// START SNIPPET: doxia
-require_once dirname(__FILE__).'/../../main/php/Logger.php';
-Logger::configure(dirname(__FILE__).'/../resources/appender_php.properties');
-$logger = Logger::getRootLogger();
-$logger->debug("Hello PHP!");

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/src/examples/php/appender_rollingfile.php
----------------------------------------------------------------------
diff --git a/src/examples/php/appender_rollingfile.php b/src/examples/php/appender_rollingfile.php
deleted file mode 100644
index 1455705..0000000
--- a/src/examples/php/appender_rollingfile.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-/**
- * 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.
- */
-// START SNIPPET: doxia
-require_once dirname(__FILE__).'/../../main/php/Logger.php';
-Logger::configure(dirname(__FILE__).'/../resources/appender_rollingfile.properties');
-
-$logger = Logger::getRootLogger();
-$logger->debug("Hello World!");

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/src/examples/php/appender_socket.php
----------------------------------------------------------------------
diff --git a/src/examples/php/appender_socket.php b/src/examples/php/appender_socket.php
deleted file mode 100644
index 3a8c4c3..0000000
--- a/src/examples/php/appender_socket.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-/**
- * 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.
- */
-// START SNIPPET: doxia
-require_once dirname(__FILE__).'/../../main/php/Logger.php';
-
-Logger::configure(dirname(__FILE__).'/../resources/appender_socket.properties');
-$logger = Logger::getRootLogger();
-$logger->fatal("Hello World!");

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/src/examples/php/appender_socket_server.php
----------------------------------------------------------------------
diff --git a/src/examples/php/appender_socket_server.php b/src/examples/php/appender_socket_server.php
deleted file mode 100644
index ed68225..0000000
--- a/src/examples/php/appender_socket_server.php
+++ /dev/null
@@ -1,72 +0,0 @@
-<?php
-/**
- * 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.
- */
-// START SNIPPET: doxia
-require_once dirname(__FILE__).'/../../main/php/Logger.php';
-Logger::configure(dirname(__FILE__).'/../resources/appender_socket_server.properties');
-
-require_once 'Net/Server.php';
-require_once 'Net/Server/Handler.php';
-
-class Net_Server_Handler_Log extends Net_Server_Handler {
-  
-        private $hierarchy;
-
-        function onStart() {
-                $this->hierarchy = Logger::getRootLogger();
-        }
-  
-        function onReceiveData($clientId = 0, $data = "") {
-                $events = $this->getEvents($data);
-                foreach($events as $event) {
-                        $root = $this->hierarchy->getRootLogger();
-                        if($event->getLoggerName() === 'root') {
-                            $root->callAppenders($event);
-                        } else {
-                             $loggers = $this->hierarchy->getCurrentLoggers();
-                                foreach($loggers as $logger) {
-                                        $root->callAppenders($event);
-                                        $appenders = $logger->getAllAppenders();
-                                        foreach($appenders as $appender) {
-                                                $appender->doAppend($event);
-                                        }
-                                }
-                        }
-                }
-        }
-  
-        function getEvents($data) {
-                if (preg_match('/^<log4php:event/', $data)) {
-                    throw new Exception("Please use 'log4php.appender.default.useXml = false' in appender_socket.properties file!");
-                }
-                preg_match('/^(O:\d+)/', $data, $parts);
-                $events = split($parts[1], $data);
-                array_shift($events);
-                $size = count($events);
-                for($i=0; $i<$size; $i++) {
-                        $events[$i] = unserialize($parts[1].$events[$i]);
-                }
-                return $events;
-        }
-}
-
-$host = 'localhost';
-$port = 4242;
-$server = Net_Server::create('sequential', $host, $port);
-$handler = new Net_Server_Handler_Log();
-$server->setCallbackObject($handler);
-$server->start();

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/src/examples/php/appender_syslog.php
----------------------------------------------------------------------
diff --git a/src/examples/php/appender_syslog.php b/src/examples/php/appender_syslog.php
deleted file mode 100644
index b43336c..0000000
--- a/src/examples/php/appender_syslog.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-/**
- * 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.
- */
-// START SNIPPET: doxia
-require_once dirname(__FILE__).'/../../main/php/Logger.php';
-
-Logger::configure(dirname(__FILE__).'/../resources/appender_syslog.properties');
-$logger = Logger::getRootLogger();
-$logger->info("Hello World!");

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/src/examples/php/cache.php
----------------------------------------------------------------------
diff --git a/src/examples/php/cache.php b/src/examples/php/cache.php
deleted file mode 100644
index 43ef88e..0000000
--- a/src/examples/php/cache.php
+++ /dev/null
@@ -1,35 +0,0 @@
-<?php
-/**
- * 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.
- */
-// START SNIPPET: doxia
-require_once dirname(__FILE__).'/../../main/php/Logger.php';
-
-Logger::configure(dirname(__FILE__).'/../resources/cache.properties');
-
-$cache = 'target/examples/hierarchy.cache';
-
-if(!file_exists($cache)) {
-	$dir = dirname($cache);
-	if(!is_dir($dir)) {
-		mkdir($dir, 0777, true);
-	}
-	$old_logger = Logger::getRootLogger();
-	file_put_contents($cache, serialize($old_logger));
-}
-$logger = unserialize(file_get_contents($cache));
-
-$logger->debug('Debug message from cached logger');

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/src/examples/php/configurator_basic.php
----------------------------------------------------------------------
diff --git a/src/examples/php/configurator_basic.php b/src/examples/php/configurator_basic.php
deleted file mode 100644
index 60a664b..0000000
--- a/src/examples/php/configurator_basic.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-/**
- * 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.
- */
-// START SNIPPET: doxia
-define('LOG4PHP_CONFIGURATOR_CLASS', 'LoggerConfiguratorBasic'); 
-require_once dirname(__FILE__).'/../../main/php/Logger.php';
-
-$logger = Logger::getRootLogger();
-$logger->info("Hello World!");

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/src/examples/php/configurator_php.php
----------------------------------------------------------------------
diff --git a/src/examples/php/configurator_php.php b/src/examples/php/configurator_php.php
deleted file mode 100644
index 8544912..0000000
--- a/src/examples/php/configurator_php.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-/**
- * 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.
- */
-// START SNIPPET: doxia
-require_once dirname(__FILE__).'/../../main/php/Logger.php';
-
-Logger::configure(dirname(__FILE__).'/../resources/configurator_php.php', 'LoggerConfiguratorPhp');
-$logger = Logger::getRootLogger();
-$logger->info("Hello World!");

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/src/examples/php/configurator_xml.php
----------------------------------------------------------------------
diff --git a/src/examples/php/configurator_xml.php b/src/examples/php/configurator_xml.php
deleted file mode 100644
index d8fef03..0000000
--- a/src/examples/php/configurator_xml.php
+++ /dev/null
@@ -1,24 +0,0 @@
-<?php
-/**
- * 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.
- */
-// START SNIPPET: doxia
-require_once dirname(__FILE__).'/../../main/php/Logger.php';
-
-Logger::configure(dirname(__FILE__).'/../resources/configurator_xml.xml');
-$logger = Logger::getRootLogger();
-$logger->info("Hello World!");
-

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/src/examples/php/filter_denyall.php
----------------------------------------------------------------------
diff --git a/src/examples/php/filter_denyall.php b/src/examples/php/filter_denyall.php
deleted file mode 100644
index 103684c..0000000
--- a/src/examples/php/filter_denyall.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-/**
- * 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.
- */
-// START SNIPPET: doxia
-require_once dirname(__FILE__).'/../../main/php/Logger.php';
-
-Logger::configure(dirname(__FILE__).'/../resources/filter_denyall.xml');
-$logger = Logger::getRootLogger();
-$logger->info("Some text that will be discarded");

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/src/examples/php/filter_levelmatch.php
----------------------------------------------------------------------
diff --git a/src/examples/php/filter_levelmatch.php b/src/examples/php/filter_levelmatch.php
deleted file mode 100644
index 8e76051..0000000
--- a/src/examples/php/filter_levelmatch.php
+++ /dev/null
@@ -1,24 +0,0 @@
-<?php
-/**
- * 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.
- */
-// START SNIPPET: doxia
-require_once dirname(__FILE__).'/../../main/php/Logger.php';
-
-Logger::configure(dirname(__FILE__).'/../resources/filter_levelmatch.xml');
-$logger = Logger::getRootLogger();
-$logger->debug("Matching and will be rejected");
-$logger->info("Not matching and will be accepted");

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/src/examples/php/filter_levelrange.php
----------------------------------------------------------------------
diff --git a/src/examples/php/filter_levelrange.php b/src/examples/php/filter_levelrange.php
deleted file mode 100644
index 6263951..0000000
--- a/src/examples/php/filter_levelrange.php
+++ /dev/null
@@ -1,27 +0,0 @@
-<?php
-/**
- * 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.
- */
-// START SNIPPET: doxia
-require_once dirname(__FILE__).'/../../main/php/Logger.php';
- 
-Logger::configure(dirname(__FILE__).'/../resources/filter_levelrange.xml');
-$logger = Logger::getRootLogger();
-$logger->debug("This is a debug message");
-$logger->info("This is an info message");
-$logger->warn("This is a warning");
-$logger->error("This is an error");
-$logger->fatal("This is a fatal error");

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/src/examples/php/filter_stringmatch.php
----------------------------------------------------------------------
diff --git a/src/examples/php/filter_stringmatch.php b/src/examples/php/filter_stringmatch.php
deleted file mode 100644
index ac3e38d..0000000
--- a/src/examples/php/filter_stringmatch.php
+++ /dev/null
@@ -1,24 +0,0 @@
-<?php
-/**
- * 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.
- */
-// START SNIPPET: doxia
-require_once dirname(__FILE__).'/../../main/php/Logger.php';
-
-Logger::configure(dirname(__FILE__).'/../resources/filter_stringmatch.xml');
-$logger = Logger::getRootLogger();
-$logger->debug("Some text to match that will be rejected");
-$logger->info("Some other text that will be accepted");

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/src/examples/php/layout_html.php
----------------------------------------------------------------------
diff --git a/src/examples/php/layout_html.php b/src/examples/php/layout_html.php
deleted file mode 100644
index 2ea66a7..0000000
--- a/src/examples/php/layout_html.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-/**
- * 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.
- */
-// START SNIPPET: doxia
-require_once dirname(__FILE__).'/../../main/php/Logger.php';
-
-Logger::configure(dirname(__FILE__).'/../resources/layout_html.properties');
-$logger = Logger::getRootLogger();
-$logger->info("Hello World!");

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/src/examples/php/layout_pattern.php
----------------------------------------------------------------------
diff --git a/src/examples/php/layout_pattern.php b/src/examples/php/layout_pattern.php
deleted file mode 100644
index 345f96e..0000000
--- a/src/examples/php/layout_pattern.php
+++ /dev/null
@@ -1,24 +0,0 @@
-<?php
-/**
- * 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.
- */
-// START SNIPPET: doxia
-require_once dirname(__FILE__).'/../../main/php/Logger.php';
-
-Logger::configure(dirname(__FILE__).'/../resources/layout_pattern.properties');
-$logger = Logger::getRootLogger();
-$logger->info("Hello World!");
-$logger->debug("Second line");

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/src/examples/php/layout_simple.php
----------------------------------------------------------------------
diff --git a/src/examples/php/layout_simple.php b/src/examples/php/layout_simple.php
deleted file mode 100644
index a9fac35..0000000
--- a/src/examples/php/layout_simple.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-/**
- * 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.
- */
-// START SNIPPET: doxia
-require_once dirname(__FILE__).'/../../main/php/Logger.php';
-
-Logger::configure(dirname(__FILE__).'/../resources/layout_simple.properties');
-$logger = Logger::getRootLogger();
-$logger->info("Hello World!");

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/src/examples/php/layout_ttcc.php
----------------------------------------------------------------------
diff --git a/src/examples/php/layout_ttcc.php b/src/examples/php/layout_ttcc.php
deleted file mode 100644
index 41b0969..0000000
--- a/src/examples/php/layout_ttcc.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-/**
- * 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.
- */
-// START SNIPPET: doxia
-require_once dirname(__FILE__).'/../../main/php/Logger.php';
-
-Logger::configure(dirname(__FILE__).'/../resources/layout_ttcc.properties');
-$logger = Logger::getRootLogger();
-$logger->info("Hello World!");

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/src/examples/php/layout_xml.php
----------------------------------------------------------------------
diff --git a/src/examples/php/layout_xml.php b/src/examples/php/layout_xml.php
deleted file mode 100644
index e9c91a2..0000000
--- a/src/examples/php/layout_xml.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-/**
- * 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.
- */
-// START SNIPPET: doxia
-require_once dirname(__FILE__).'/../../main/php/Logger.php';
-
-Logger::configure(dirname(__FILE__).'/../resources/layout_xml.properties');
-$logger = Logger::getRootLogger();
-$logger->info("Hello World!");

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/src/examples/php/mdc.php
----------------------------------------------------------------------
diff --git a/src/examples/php/mdc.php b/src/examples/php/mdc.php
deleted file mode 100644
index 2b17302..0000000
--- a/src/examples/php/mdc.php
+++ /dev/null
@@ -1,24 +0,0 @@
-<?php
-/**
- * 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.
- */
-// START SNIPPET: doxia
-require_once dirname(__FILE__).'/../../main/php/Logger.php';
-
-Logger::configure(dirname(__FILE__).'/../resources/mdc.properties');
-LoggerMDC::put('username', 'knut');
-$logger = Logger::getRootLogger();
-$logger->debug("Testing MDC");

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/src/examples/php/ndc.php
----------------------------------------------------------------------
diff --git a/src/examples/php/ndc.php b/src/examples/php/ndc.php
deleted file mode 100644
index 4edec6a..0000000
--- a/src/examples/php/ndc.php
+++ /dev/null
@@ -1,30 +0,0 @@
-<?php
-/**
- * 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.
- */
-// START SNIPPET: doxia
-require_once dirname(__FILE__).'/../../main/php/Logger.php';
-Logger::configure(dirname(__FILE__).'/../resources/ndc.properties');
-$logger = Logger::getRootLogger();
-
-LoggerNDC::push('conn=1234');
-$logger->debug("just received a new connection");
-LoggerNDC::push('client=ab23');
-$logger->debug("some more messages that can");
-$logger->debug("now related to a client");
-LoggerNDC::pop();
-LoggerNDC::pop();
-$logger->debug("back and waiting for new connections");

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/src/examples/php/renderer_default.php
----------------------------------------------------------------------
diff --git a/src/examples/php/renderer_default.php b/src/examples/php/renderer_default.php
deleted file mode 100644
index 1100cec..0000000
--- a/src/examples/php/renderer_default.php
+++ /dev/null
@@ -1,35 +0,0 @@
-<?php
-/**
- * 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.
- */
-// START SNIPPET: doxia
-require_once dirname(__FILE__).'/../../main/php/Logger.php';
-Logger::configure(dirname(__FILE__).'/../resources/renderer_default.properties');
-
-class Person {
-    public $firstName = 'John';
-    public $lastName = 'Doe';
-
-    public function __toString() {
-        return $this->lastName . ', ' . $this->firstName;
-    }
-}
-
-$person = new Person();
-
-$logger = Logger::getRootLogger();
-$logger->debug("Now comes the current MyClass object:");
-$logger->debug($person);

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/src/examples/php/renderer_map.php
----------------------------------------------------------------------
diff --git a/src/examples/php/renderer_map.php b/src/examples/php/renderer_map.php
deleted file mode 100644
index 8f9e802..0000000
--- a/src/examples/php/renderer_map.php
+++ /dev/null
@@ -1,37 +0,0 @@
-<?php
-/**
- * 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.
- */
-// START SNIPPET: doxia
-require_once dirname(__FILE__).'/../../main/php/Logger.php';
-Logger::configure(dirname(__FILE__).'/../resources/renderer_map.properties');
-
-class Person {
-    public $firstName = 'John';
-    public $lastName = 'Doe';
-}
-
-class PersonRenderer implements LoggerRendererObject {
-    public function render($o) {
-        return $o->lastName.', '.$o->firstName;
-    }
-}
-
-$person = new Person();
-
-$logger = Logger::getRootLogger();
-$logger->debug("Now comes the current Person object:");
-$logger->debug($person);
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/src/examples/php/simple.php
----------------------------------------------------------------------
diff --git a/src/examples/php/simple.php b/src/examples/php/simple.php
deleted file mode 100644
index 3dc9a37..0000000
--- a/src/examples/php/simple.php
+++ /dev/null
@@ -1,36 +0,0 @@
-<?php
-/**
- * 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.
- */
-// START SNIPPET: doxia
-require_once dirname(__FILE__).'/../../main/php/Logger.php';
-
-class Log4phpTest {
-    private $_logger;
-    
-    public function __construct() {
-        $this->_logger = Logger::getLogger('Log4phpTest');
-        $this->_logger->debug('Hello!');
-    }
-}
-
-function Log4phpTestFunction() {
-    $logger = Logger::getLogger('Log4phpTestFunction');
-    $logger->debug('Hello again!');    
-}
-
-$test = new Log4phpTest();
-Log4phpTestFunction();
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/src/examples/resources/appender_console.properties
----------------------------------------------------------------------
diff --git a/src/examples/resources/appender_console.properties b/src/examples/resources/appender_console.properties
deleted file mode 100644
index d2f99e8..0000000
--- a/src/examples/resources/appender_console.properties
+++ /dev/null
@@ -1,21 +0,0 @@
-;
-; 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.
-;
-; START SNIPPET: doxia
-log4php.appender.console = LoggerAppenderConsole
-log4php.appender.console.target = STDOUT
-log4php.appender.console.layout = LoggerLayoutSimple
-log4php.rootLogger = DEBUG, console

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/src/examples/resources/appender_dailyfile.properties
----------------------------------------------------------------------
diff --git a/src/examples/resources/appender_dailyfile.properties b/src/examples/resources/appender_dailyfile.properties
deleted file mode 100644
index 955029c..0000000
--- a/src/examples/resources/appender_dailyfile.properties
+++ /dev/null
@@ -1,22 +0,0 @@
-;
-; 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.
-;
-; START SNIPPET: doxia
-log4php.appender.default = LoggerAppenderDailyFile
-log4php.appender.default.layout = LoggerLayoutTTCC
-log4php.appender.default.datePattern = Ymd
-log4php.appender.default.file = target/examples/daily_%s.log
-log4php.rootLogger = DEBUG, default

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/src/examples/resources/appender_echo.properties
----------------------------------------------------------------------
diff --git a/src/examples/resources/appender_echo.properties b/src/examples/resources/appender_echo.properties
deleted file mode 100644
index 854c45b..0000000
--- a/src/examples/resources/appender_echo.properties
+++ /dev/null
@@ -1,20 +0,0 @@
-;
-; 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.
-;
-; START SNIPPET: doxia
-log4php.appender.default = LoggerAppenderEcho
-log4php.appender.default.layout = LoggerLayoutTTCC
-log4php.rootLogger = DEBUG, default

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/src/examples/resources/appender_file.properties
----------------------------------------------------------------------
diff --git a/src/examples/resources/appender_file.properties b/src/examples/resources/appender_file.properties
deleted file mode 100644
index b55142e..0000000
--- a/src/examples/resources/appender_file.properties
+++ /dev/null
@@ -1,21 +0,0 @@
-;
-; 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.
-;
-; START SNIPPET: doxia
-log4php.appender.default = LoggerAppenderFile
-log4php.appender.default.file = target/examples/file.log
-log4php.appender.default.layout = LoggerLayoutTTCC
-log4php.rootLogger = DEBUG, default

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/src/examples/resources/appender_firephp.xml
----------------------------------------------------------------------
diff --git a/src/examples/resources/appender_firephp.xml b/src/examples/resources/appender_firephp.xml
deleted file mode 100644
index 279444e..0000000
--- a/src/examples/resources/appender_firephp.xml
+++ /dev/null
@@ -1,30 +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.
--->
-<configuration xmlns="http://logging.apache.org/log4php/">
-    <appender name="firePhpAppender" class="LoggerAppenderFirephp">
-        <layout class="LoggerLayoutSimple" />
-        <param name="medium" value="page" />
-    </appender>
-    <appender name="consoleAppender" class="LoggerAppenderConsole" />
-
-    <root>
-        <level value="DEBUG" />
-        <appender_ref ref="firePhpAppender" />
-        <appender_ref ref="consoleAppender" />
-    </root>
-</configuration>

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/src/examples/resources/appender_mail.properties
----------------------------------------------------------------------
diff --git a/src/examples/resources/appender_mail.properties b/src/examples/resources/appender_mail.properties
deleted file mode 100644
index 66cf586..0000000
--- a/src/examples/resources/appender_mail.properties
+++ /dev/null
@@ -1,23 +0,0 @@
-;
-; 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.
-;
-; START SNIPPET: doxia
-log4php.appender.email = LoggerAppenderMail
-log4php.appender.email.layout = LoggerLayoutTTCC
-log4php.appender.email.from = someone@example.com
-log4php.appender.email.to = root@localhost
-log4php.appender.email.subject = Log4php test
-log4php.rootLogger = FATAL, email

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/src/examples/resources/appender_mailevent.properties
----------------------------------------------------------------------
diff --git a/src/examples/resources/appender_mailevent.properties b/src/examples/resources/appender_mailevent.properties
deleted file mode 100644
index 2ec31fc..0000000
--- a/src/examples/resources/appender_mailevent.properties
+++ /dev/null
@@ -1,23 +0,0 @@
-;
-; 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.
-;
-; START SNIPPET: doxia
-log4php.appender.email = LoggerAppenderMail
-log4php.appender.email.layout = LoggerLayoutTTCC
-log4php.appender.email.from = someone@example.com
-log4php.appender.email.to = root
-log4php.appender.email.subject = Log4php test
-log4php.rootLogger = FATAL, email

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/src/examples/resources/appender_mongodb.xml
----------------------------------------------------------------------
diff --git a/src/examples/resources/appender_mongodb.xml b/src/examples/resources/appender_mongodb.xml
deleted file mode 100644
index bd9416c..0000000
--- a/src/examples/resources/appender_mongodb.xml
+++ /dev/null
@@ -1,25 +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.
--->
-<log4php:configuration xmlns:log4php="http://logging.apache.org/log4php/" threshold="all">
-    <appender name="default" class="LoggerAppenderMongoDB">
-    </appender>
-    <root>
-        <level value="DEBUG" />
-        <appender_ref ref="default" />
-    </root>
-</log4php:configuration>


Mime
View raw message