Hi, I am using Log4PHP for a project in PHP 5. I initialise it in every class:
class B extends A{ public $_logger; function __construct(...) { if (!$this->_logger) { $this->_logger =& LoggerManager::getLogger(__CLASS__ . '.' . get_class($this)); } parent::__construct(...); } This is fine, when I use virtual methods, but I cannot use it in the static methods. How do you use Log4PHP in your projects? BTW. You have also some broken links at your page http://incubator.apache.org/projects/log4php.html (Website link, Mailing list (un) subscribe links) -- Ondra Medek