Re: Log file_rotate
| From: | Jon Parise | Date: | Wed, 30 Jun 2004 17:23:32 +0000 |
| Subject: | Re: Log file_rotate | ||
| References: | 1 2 3 4 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-31390@lists.php.net to get a copy of this message | ||
On Wed, Jun 30, 2004 at 10:13:54AM -0700, Justin Patrin wrote:
> > > > Let me know if this would be acceptable before I get anything done.
> > > I'm of the opinion that this kind of functionality is best left for
> > > external utilities.
> > I disagree. Like you said, the rotating "is best left" for external utils.
> > However, there's quite a few occasions where you don't have access to them.
> > Be it a shared server, remote webhosting or a Windows machine, you just
> > can't always expect there to be a tool to rotate your logs for you.
> > Including it into the Log package would be a nice thing to have.
I didn't say it wasn't useful behavior. I just don't intend to add
that type of functionality to the Log package.
> This could always bee one of those "sub-packages" that you install if
> you want it. Log_rotate or some such.
That would be a reasonable solution.
--
Jon Parise (jon of php.net) :: The PHP Project (http://www.php.net/)