You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4php-dev@logging.apache.org by gr...@apache.org on 2009/08/27 22:43:24 UTC

svn commit: r808615 - in /incubator/log4php/trunk/src: changes/changes.xml main/php/layouts/LoggerLayoutXml.php

Author: grobmeier
Date: Thu Aug 27 20:43:23 2009
New Revision: 808615

URL: http://svn.apache.org/viewvc?rev=808615&view=rev
Log:
LOG4PHP-76: Applied patch from Dan Hansen: Unable to configure socket appender with attribute useXml = true

Modified:
    incubator/log4php/trunk/src/changes/changes.xml
    incubator/log4php/trunk/src/main/php/layouts/LoggerLayoutXml.php

Modified: incubator/log4php/trunk/src/changes/changes.xml
URL: http://svn.apache.org/viewvc/incubator/log4php/trunk/src/changes/changes.xml?rev=808615&r1=808614&r2=808615&view=diff
==============================================================================
--- incubator/log4php/trunk/src/changes/changes.xml (original)
+++ incubator/log4php/trunk/src/changes/changes.xml Thu Aug 27 20:43:23 2009
@@ -71,6 +71,7 @@
 		<action type="fix" issue="LOG4PHP-66">LoggerConfiguratorBasicTest fails in "mvn test" but not in phpunit (Christian Hammers)</action>
 		<action type="fix" issue="LOG4PHP-67">Refactoring: Use Logger instead of LoggerManager (Christian Hammers)</action>
 		<action type="fix" issue="LOG4PHP-71">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 (Christian Grobmeier)</action>
+		<action type="fix" issue="LOG4PHP-76" by="Dan Hansen">Unable to configure socket appender with attribute useXml = true</action>
 		<action type="update">Initial port to PHP 5 (Knut Urdalen)</action>
 		<action type="update">Established new unit test suite (Knut Urdalen)</action>
 		<action type="update">Added a range of examples (Knut Urdalen)</action>

Modified: incubator/log4php/trunk/src/main/php/layouts/LoggerLayoutXml.php
URL: http://svn.apache.org/viewvc/incubator/log4php/trunk/src/main/php/layouts/LoggerLayoutXml.php?rev=808615&r1=808614&r2=808615&view=diff
==============================================================================
--- incubator/log4php/trunk/src/main/php/layouts/LoggerLayoutXml.php (original)
+++ incubator/log4php/trunk/src/main/php/layouts/LoggerLayoutXml.php Thu Aug 27 20:43:23 2009
@@ -162,6 +162,13 @@
         $this->locationInfo = LoggerOptionConverter::toBoolean($flag, true);
     }
   
+	/**
+	 * @return boolean
+	 */
+	 public function getLog4jNamespace() {
+	 	return $this->log4jNamespace;
+	 }
+
     /**
      * @param boolean
      */