[horde] Problem with Log (PEAR)

Jon Parise jon at horde.org
Mon Oct 21 13:40:14 PDT 2002


On Mon, Oct 21, 2002 at 10:37:02PM +0200, Jan Kuipers wrote:

> This may not be the right place to mention a bug in a PEAR package, but as it
> concerns Horde (and Jon Parise as maintainer), I mention it here.

Damn; I wear too many hats sometimes. =)
 
> When using the latest Log package from PEAR (Log-1.4) the Horde (file-based)
> logging doesn't work anymore, i.e. the logfile /tmp/horde.log is created, but
> nothing is logged in it! Switching loglevels doesn't change anything.
> Downgrading to Log-1.3 makes it work again.

The file logging target was rewritten by Richard Hayes between those
two releases.  Apparently, it now uses the PEAR "destructor" mechanism
to write to, flush, and close the log file.

I don't have the time to investigate it myself right now, however.
I'll try and take a look soon. 

-- 
Jon Parise (jon at horde.org) :: The Horde Project (http://horde.org/)


More information about the horde mailing list