RE: [PEAR-DEV] Re: Log and locking
| From: | Richard Heyes | Date: | Tue, 17 Sep 2002 19:12:52 +0000 |
| Subject: | RE: [PEAR-DEV] Re: Log and locking | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-9126@lists.php.net to get a copy of this message | ||
> > Any particular reason Log_File doesn't use locking ?
>
> No, I don't believe so. Feel free to send me a patch that implements
> locking, or I'll try to get to it myself later on this week.
Also, what do you think of having a (possibly) separate file container
that
doesn't open/close for each call to log(), instead storing the data to
be logged
and using the PEAR destructor system to write it to the file at shutdown
?
Cheers.
--
Richard Heyes