Log4php is a PHP port of Log4j, the most popular Java logging framework. It supports configuration through XML and properties files (with the same structure as log4j) and custom Configurators. File, RollingFile, DailyFile, Echo, Console, Mail, PEAR::Db, PHP error, Syslog or NT events, and socket appenders are supported. Simple, TTCC, Pattern, Html, and Xml Layouts are supported. It also supports Filters, custom Levels, and Loggers. Internal debugging can be switched on and off. Log4php can be used inside a class or inside a main/sub function.
| Tags | Logging Software Development Testing Debuggers |
|---|---|
| Licenses | LGPL Apache 2.0 |
| Operating Systems | Unix Windows Windows |
| Implementation | PHP |
Recent releases


Changes: This release adds a LoggerDOMConfigurator APPENDER-REF element as an APPENDER_REF alias. Various changes have been made to obtain PHP5 compatibility.


Changes: This version fixes LoggerDOMConfigurator CONFIGURATOR element's namespace handling, the AppenderSkeleton::setThreshold() threshold assignment, the LoggerAppenderMail::close() mail() 'to' param, and the remoteHostname and port params getter/setter in LoggerAppenderSocket.


Changes: This release adds a "log4jNamespace" option to LoggerAppenderSocket, fixes LoggerXmlLayout CDATA rendering, and adds new tests.


Changes: Bugs and malfunctions have been fixed. LoggerDatePatternConverter supports microseconds. Appenders report errors via LoggerLog::debug. LoggerLevelMatchFilter and LoggerLevelRangeFilter have been added. Experimental hierarchy serialization support has been added.


Changes: The init configuration system was rewritten to be more like log4j. The LoggerLevel class was recoded, and Basic and Property configurators were added. Logger factory support was added, and some bugs were fixed.
A utility to fetch images from a video4linux2 compatible Webcam or TV card.
A self-contained virtual appliance for Drupal CMS.