March 2008
Medieval Programming » Propel and PHP Garbage collector
by Xavier LacotI typically disable logging for batch scripts in symfony, which significantly improves memory leak issues.
sfConfig::set(’sf_logging_enabled’, false);
January 2007
Log4php : PHP logging framework
by clochixLog4php is a php port of Log4j, the most popular Java logging framework.
Log4php supports:
* Configuration through xml and properties file (same structure as log4j).
* File, RollingFile, DailyFile, Echo, Console, Mail, PEAR::Db, PHP error, Syslog or NT events and Socket appenders.
* Simple, TTCC, Pattern, Html and Xml Layouts.
* Nested (NDC) and Mapped (MDC) Diagnostic Contexts.
* Switchable internal debug.
1
(2 marks)