Re: Log file_rotate
| From: | Justin Patrin | Date: | Wed, 30 Jun 2004 17:28:10 +0000 |
| Subject: | Re: Log file_rotate | ||
| References: | 1 2 3 4 5 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-31392@lists.php.net to get a copy of this message | ||
On Wed, 30 Jun 2004 13:23:32 -0400, Jon Parise <jon@php.net> wrote:
>
> 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.
>
Well, someone else would write the container. You would just have to
include it. Really that's the easiest way IMHO as sub-packages (AFAIK)
aren't *really* supported, although they should work fine...
> > 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.
>
But this would, of course, be just fine.
--
paperCrane --Justin Patrin--