[horde] Problem with Log (PEAR)

Ronnie Garcia r.garcia at netia.net
Tue Oct 22 01:22:14 PDT 2002


At 20:26 21/10/2002 -0400, Jon Parise wrote:
>On Mon, Oct 21, 2002 at 08:22:04PM -0400, Chuck Hagenbuch wrote:
>
> > > The short answer is to call $log->close() before the end of the
> > > request.  If someone wants to work up a patch to Horde that handles
> > > that, that would be cool.
> >
> > That qualifies as breaking BC in my view, and should be fixed in the PEAR
> > package - did anyone actually every have a problem with the old way? And if
> > this is supposed to be taken care of by the PEAR destructor mechanism, why
> > do you need an explicit call?
>
>The close() method was always part of the Log API and, technically, we
>should have been calling it.

Moreover, it's required by other logging backends, like Log_mail.

Rgds,
Ronnie.



More information about the horde mailing list