Re: Log_file behavior in long running apps

From: Date: Fri, 04 Jul 2003 10:02:01 +0000
Subject: Re: Log_file behavior in long running apps
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-17983@lists.php.net to get a copy of this message
# jon@php.net / 2003-07-04 04:58:25 -0400: > On Fri, Jul 04, 2003 at 08:59:16AM +0200, Roman Neuhauser wrote: > > What effect will using Log::file in a long running application (non-web > > environment) have on memory usage given that it defers the writing till > > the end of the execution? > > I'm not sure. You'd have to run your own benchmarks. Well, I think we'll agree that it would cause evergrowing memory consupmtion. It also hampers functionality. Imagine any daemon like Apache only writing its logs on shutdown. You wouldn't be able to monitor its activity. > When I find the time to rewrite the Log_file class, I'll make the > output buffering optional. What are the other changes you want to make? -- If you cc me or remove the list(s) completely I'll most likely ignore your message. see http://www.eyrie.org./~eagle/faqs/questions.html

« previous php.pear.dev (#17983) next »