Apache log4php changelog

Release History

VersionDateDescription
2.3.0SVN 
2.2.12012-02-18 
2.2.02011-12-20 
2.1.02011-07-13Stabilizing
2.0.02009-12-12PHP 5 compatibility

Release 2.3.0 - SVN

TypeChangesBy

fix

LoggerPatternConverter formats max incorrectly Fixes LOG4PHP-163. Thanks to Daniel Wong.Ivan Habunek

fix

Events logged by upstream loggers even if disabled by level. Fixes LOG4PHP-188.Ivan Habunek

update

Don't clear the entire stat cache on an append. Fixes LOG4PHP-186. Thanks to Rasmus Lerdorf.Ivan Habunek

add

Allow setting of a default renderer. Fixes LOG4PHP-141.Ivan Habunek

update

Fixed LoggerAppenderDailyFile to rollover on date change in long running scipts. Fixes LOG4PHP-120. Thanks to Michal Vanek.Ivan Habunek

fix

Re-enabled usage of PHP constants in config parameters. Fixes LOG4PHP-184.Ivan Habunek

update

Removed $_ENV and $_SERVER access from LoggerMDC.Ivan Habunek

update

Made LoggerLayoutTTCC deprecated.Ivan Habunek

fix

Fixed formatting bug in LoggerLayoutPattern. Fixes LOG4PHP-163.Ivan Habunek

update

Rewritten pattern system to allow longer conversion words and some new ones. Fixes LOG4PHP-172.Ivan Habunek

add

Added reconnectAttempts parameter to LoggerAppenderPDO. Adds support for reconnect if connection fails while appending. Fixes LOG4PHP-134.Ivan Habunek

add

Firephp appender logs to Firebug console. Fixes LOG4PHP-174.Florian Semm

Release 2.2.1 - 2012-02-18

TypeChangesBy

fix

Fixed a bug which prevented configuration by passing a LoggerConfigurator instance. Fixes LOG4PHP-168.Ivan Habunek

fix

Fixed a bug which prevented parsing of INI configuration files when using PHP 5.2.x. Fixes LOG4PHP-167.Ivan Habunek

update

Added connection timeout parameter to MongoDB appender. Fixes LOG4PHP-166. Thanks to David Hilowitz.Ivan Habunek

Release 2.2.0 - 2011-12-20

TypeChangesBy

fix

LoggerAppenderFile throws wrong warning messages. Fixes LOG4PHP-158.Ivan Habunek

update

All configurable components should report errors when given invalid values Fixes LOG4PHP-161.Ivan Habunek

update

Extended LoggerLayoutXml to include MDC info Fixes LOG4PHP-165. Thanks to Johannes Wohlgemuth.Ivan Habunek

fix

Warning for invalid appender threshold level never called. Fixes LOG4PHP-162.Ivan Habunek

fix

Order of params in LoggerAppenderDailyFile configuration is significant. Fixes LOG4PHP-114.Ivan Habunek

update

Rewritten LoggerAppenderSocket to use a layout. Fixes LOG4PHP-154.Ivan Habunek

add

Appeneders should use a default layout is no layout is specified in configuration Fixes LOG4PHP-160. Thanks to Florian Semm.Ivan Habunek

add

Created a new layout LoggerLayoutSerialized which formats events as serialized objects. Fixes LOG4PHP-155.Ivan Habunek

fix

Appenders do not close gracefully if a fatal error occurs. Fixes LOG4PHP-159. Thanks to Justin Cherniak.Ivan Habunek

fix

Wrong order in configuration breaks logging. Fixes LOG4PHP-101.Ivan Habunek

update

A rewrite of the configurator. Fixes LOG4PHP-152.Ivan Habunek

fix

Bugs during HipHop build Fixes LOG4PHP-147.Ivan Habunek

update

Move common appender methods to parent class Fixes LOG4PHP-151.Ivan Habunek

fix

The syslog appender does not correctly parse options Fixes LOG4PHP-145.Ivan Habunek

remove

Remove deprecated appender LoggerAppenderAdodb Fixes LOG4PHP-149.Ivan Habunek

fix

LoggerUserFieldPatternConverter class missing in log4php archive Fixes LOG4PHP-148.Ivan Habunek

update

Improve pear build. Fixes LOG4PHP-137.Ivan Habunek

fix

LoggerConfiguratorPhp does not accept integer constants for appender threshold Fixes LOG4PHP-143. Thanks to Justin Cherniak.Ivan Habunek

Release 2.1.0 - 2011-07-13

TypeChangesBy

fix

Permission denied while renaming log file when hundred of users are accessing the application Fixes LOG4PHP-138.Christian Grobmeier

fix

Fixed incorrect usage of changes.xml Fixes LOG4PHP-140.Ivan Habunek

fix

Log4PHP causes odd errors in the underlying application if used with source having an existing __autoload function Fixes LOG4PHP-129.Ivan Habunek

fix

RendererMap::getByClassName doesnt recognize instances of child classes Fixes LOG4PHP-122. Thanks to Moritz Schmidt.Ivan Habunek

fix

LoggerConfiguratorPhp does not parse renderer configuration Fixes LOG4PHP-123. Thanks to Moritz Schmidt.Ivan Habunek

fix

Adapted MongoDB appender to better fit in log4php codebase. Fixes LOG4PHP-110. Thanks to Vladimir Gorej.Ivan Habunek

fix

LoggerConfiguratorPhp does not appear to respect appender file property from config Fixes LOG4PHP-126. Thanks to Peter Chapman.Christian Grobmeier

fix

Additivity cannot be disabled through log4php.properties ini file. Fixes LOG4PHP-118. Thanks to Craig Marvelley.Christian Grobmeier

add

Added MongoDB appender Fixes LOG4PHP-110. Thanks to Vladimir Gorej.Christian Grobmeier

fix

File appenders parameters (removed overloading of setFile()). Fixes LOG4PHP-131.Ivan Habunek

fix

PDO appender doesn't close connections Fixes LOG4PHP-133. Thanks to Dmitry Katemirov.Ivan Habunek

fix

Replaced calls to deprecated PHPUnit method assertTypeOf() with assertInternalType() and assertInstanceOf().Ivan Habunek

fix

Refactored LoggerNDC and added tests Fixes LOG4PHP-104.Ivan Habunek

fix

LoggerMDC needs refactoring + tests Fixes LOG4PHP-105.Ivan Habunek

update

Added __toString magic method to LoggerLevel.Ivan Habunek

fix

LoggerConfiguratorIni::configure() and unexptected results from error_get_last() Fixes LOG4PHP-117. Thanks to Maciej Mazur.Ivan Habunek

fix

Milliseconds do not change when using LoggerLayoutPattern Fixes LOG4PHP-113.Ivan Habunek

fix

Instanciate LoggerAppenderPDO by hand throw exception Fixes LOG4PHP-115. Thanks to Vaceletm.Christian Grobmeier

update

PHP Configurator: set remaining properties to appenders Fixes LOG4PHP-36. Thanks to Moritz Schmidt.Christian Grobmeier

update

MongoDB: improved exception handling Fixes LOG4PHP-110. Thanks to Vladimir Gorej.Christian Grobmeier

fix

Logging ClassName doesn't work Fixes LOG4PHP-112. Thanks to Darja Ryazhskikh.Christian Grobmeier

update

Improved add HTML line break feature in LoggerAppenderEcho Fixes LOG4PHP-108. Thanks to Ivan Habunek.Christian Grobmeier

update

patch for Throwable information associated with logging event Fixes LOG4PHP-109. Thanks to Vladimir Gorej.Christian Grobmeier

update

Documentation: Problem using a custom ConversionPattern Fixes LOG4PHP-111. Thanks to Ivan Habunek.Christian Grobmeier

add

Add HTML line break to LoggerAppenderEcho output Fixes LOG4PHP-108. Thanks to Florian Platzer.Christian Grobmeier

fix

Lowered pear_installer version dependency to 1.7.0Christian Hammers

update

Included new LoggerLayoutPattern tests Thanks to Ivan Habunek.Christian Grobmeier

fix

Exception when using more than one LoggerAppenderFile Fixes LOG4PHP-103. Thanks to Moritz Schmidt.Christian Grobmeier

fix

LoggerLayoutPattern fails tests Fixes LOG4PHP-102. Thanks to Ivan Habunek.Christian Grobmeier

update

Directly assign an array on Logger PHP configuration Fixes LOG4PHP-100. Thanks to Moritz Schmidt.Christian Grobmeier

add

Add trace level to Log4PHP Fixes LOG4PHP-95. Thanks to Ivan Habunek.Christian Grobmeier

fix

Some of the tests don't pass under Windows Fixes LOG4PHP-96. Thanks to Tommy Montgomery.Christian Grobmeier

fix

LoggerClassNamePatternConverter accessing private property Fixes LOG4PHP-93. Thanks to Hiroaki Kawai.Christian Grobmeier

fix

LoginOptionConverter.php (used wrong constant name) Fixes LOG4PHP-91. Thanks to Dan Barkwell.Christian Grobmeier

Release 2.0.0 - 2009-12-12

TypeChangesBy

fix

Maven 2.0 build Fixes LOG4PHP-3.

fix

Updated source file headers with current ASF notice Fixes LOG4PHP-7.

fix

PHP 5 compatibility modification.

fix

removed all @author tags. All contributors are named (with task) in the changelog file Fixes LOG4PHP-1.Christian Grobmeier

fix

Fatal error for constructor in LoggerAppenderRollingFile Fixes LOG4PHP-4.Michael Aichler

fix

LoggerAppenderRollingFile unable to open file and append logs Fixes LOG4PHP-5.Michael Aichler

fix

Change copyright notices to conform to the Source Header and Copyright Notice Policy Fixes LOG4PHP-7.Curt Arnold

fix

log4php.dtd should be reviewed Fixes LOG4PHP-9.Christian Grobmeier

fix

trailing "\n" Fixes LOG4PHP-11.Hiroaki Kawai

fix

LoggerAppenderFile does not create missing directories Fixes LOG4PHP-12.Knut Urdalen

fix

LoggerPropertyConfigurator: Only variables should be assigned by reference Fixes LOG4PHP-13.Michael Aichler

fix

LoggerPropertySetter: warnings about is_a() and non-static method Fixes LOG4PHP-14.Michael Aichler

fix

Logger: warnings about is_a() Fixes LOG4PHP-15.Michael Aichler

fix

Patch for LoggerAppenderSyslog to use Layouts Fixes LOG4PHP-16.Gary Richardson

fix

%l Pattern layout raises a protected property access error Fixes LOG4PHP-17.Yomei Komiya

fix

Date pattern %d conversion is invalid Fixes LOG4PHP-18.Yomei Komiya

fix

Logger location info is invalid in log outputs of Logger's subclasses Fixes LOG4PHP-19.Yomei Komiya

fix

Custom layout for LoggerAppenderPhp Fixes LOG4PHP-20.Corin Lawson

fix

log4php.dtd invalid Fixes LOG4PHP-22.Christian Grobmeier

fix

Mixed PHP4 and PHP5 syntax Fixes LOG4PHP-23.Christian Grobmeier

fix

LoggerAppenderRollingFile unable to rollover Fixes LOG4PHP-24.Dennis Korbar

fix

Allow to set environment variables in LoggerOptionConverter Fixes LOG4PHP-25.Christian Hammers, Knut Urdalen

fix

LoggerAppenderConsole doesn't write to STDERR Fixes LOG4PHP-28.Michael Kuenzli, Knut Urdalen

fix

Appenders is not properly closed upon destruction Fixes LOG4PHP-33.Knut Urdalen

update

Load classes through autoload instead of explicitly include them Fixes LOG4PHP-29.Knut Urdalen

update

Implement LoggerAppenderPDO Fixes LOG4PHP-30.Christian Grobmeier

update

Removing unnecessary use of LOG4PHP_DIR Fixes LOG4PHP-31.Knut Urdalen

update

Refactor from using define to class contants (Knut Urdalen, Christian Grobmeier) Fixes LOG4PHP-32.Knut Urdalen, Christian Grobmeier

update

Remove all internal debugging Fixes LOG4PHP-34.Christian Grobmeier

update

Replace LOG4PHP_LINE_SEP with PHP_EOL Fixes LOG4PHP-35.Knut Urdalen

update

removed LoggerAppenderDB in favour to LoggerAppenderPDO Fixes LOG4PHP-37.Christian Grobmeier

update

Replace is_a() with instanceof Fixes LOG4PHP-38.Knut Urdalen

update

Remove deprecated methods Fixes LOG4PHP-39.Knut Urdalen

update

Merge LoggerAppender and LoggerAppenderSkeleton Fixes LOG4PHP-40.Christian Grobmeier

update

Remove size restriction of MDC table in LoggerMDC Fixes LOG4PHP-43.Knut Urdalen

update

PEAR package Fixes LOG4PHP-44.Knut Urdalen

fix

Use PreparedStatement in PDO-Appender Fixes LOG4PHP-46.Christian Hammers

fix

PDO Appender now uses quote() due to PreparedStatements Fixes LOG4PHP-47.Christian Hammers

update

Create more File Appender Tests Fixes LOG4PHP-50.Christian Grobmeier

update

Use of custom factorys is discouraged - clean up Fixes LOG4PHP-52.Christian Grobmeier

update

Removed references were appropriate Fixes LOG4PHP-53.Christian Grobmeier

fix

PHPDoc is wrong due to class movements - clean up Fixes LOG4PHP-54.Christian Grobmeier

update

Replace define('LOG4PHP_CONFIGURATION' by static variable Fixes LOG4PHP-56.Christian Grobmeier

update

Make use of destructors instead of Logger::shutdown Fixes LOG4PHP-57.Christian Grobmeier

fix

LoggerAppenderConsole is initialized wrong Fixes LOG4PHP-59.Christian Grobmeier, Christian Hammers

update

Improved quickstart.apt Fixes LOG4PHP-60.Christian Hammers

update

Does not print warning if ini file is corrupt Fixes LOG4PHP-62.Christian Hammers

update

PDOAppender should throw LoggerException on database problems Fixes LOG4PHP-63.Christian Hammers

fix

Remove deprecated call-by-reference in LoggerLayoutPattern Fixes LOG4PHP-64.Christian Hammers

fix

Mixing protected and private in Logger and the inheriting LoggerRoot Fixes LOG4PHP-65.Christian Grobmeier

fix

LoggerConfiguratorBasicTest fails in "mvn test" but not in phpunit Fixes LOG4PHP-66.Christian Hammers

fix

Refactoring: Use Logger instead of LoggerManager Fixes LOG4PHP-67.Christian Hammers

fix

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 Fixes LOG4PHP-71.Christian Grobmeier

fix

Unable to configure socket appender with attribute useXml = true Fixes LOG4PHP-76.Dan Hansen

fix

LoggerReflectionUtils::setter() should be defined as a static method Fixes LOG4PHP-77.Dan Hansen

fix

Increased field sizes in AppenderPDO database tables Fixes LOG4PHP-79.Christian Hammers

fix

An exception is now thrown if an unknown property is set via config file Fixes LOG4PHP-80.Christian Hammers

fix

Boolean values in .properties files are now correctly parsed Fixes LOG4PHP-81.Christian Hammers

fix

Added more examples to the API docs Fixes LOG4PHP-82.Christian Hammers

fix

Fixed call of undefined method when using RendererMap Fixes LOG4PHP-84.Christian Hammers

fix

LoggerAppenderRollingFile should not fail if the file does not already exist Fixes LOG4PHP-86.Christian Hammers

fix

LoggerXmlConfigurator can now interpret threshold commands at appender levelChristian Grobmeier

update

Initial port to PHP 5Knut Urdalen

update

Established new unit test suiteKnut Urdalen

update

Added a range of examplesKnut Urdalen

update

Created common ReflectionUtils class and moved factory calls to there