Re: Rotating Log-Container
| From: | Ian Eure | Date: | Wed, 02 Feb 2005 20:18:16 +0000 |
| Subject: | Re: Rotating Log-Container | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-35883@lists.php.net to get a copy of this message | ||
On Wednesday 02 February 2005 12:06 pm, Stephan Wentz wrote:
> Ian Eure wrote:
> | On Wednesday 02 February 2005 10:10 am, Stephan Wentz wrote:
> |>Hmm ok, the part counting the numer of lines doesn't really make sense.
> |>Has anyone got a good idea how to do this without memory being exhausted?
> |>
> |>:)
> |
> | http://packages.debian.org/logrotate
> |
> | I really don't think this belongs in PEAR.
>
> Please read my first post again and rethink what you wrote ;-)
>
To answer your question, I think the best thing you can do is run `wc -l' on
the file.
I think this is still a bad idea, but it's your funeral.
Attachment: [application/pgp-signature]
Attachment: [application/pgp-signature]