Re: Rotating Log-Container
| From: | Greg Beaver | Date: | Thu, 03 Feb 2005 22:40:45 +0000 |
| Subject: | Re: Rotating Log-Container | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-35928@lists.php.net to get a copy of this message | ||
Stephan Wentz wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 bertrand Gugger wrote: | BTW: why don't you do that from a cron job, just checking log file size, | rename it if necessary and remove oldest log file that are too much ? | as the system do :) | It would be transparent for the PHP scripts and you don't need extra | archive class. Because I can't. Project is hosted on a managed server, I don't have any access to the machine!I have to say this: the solution you're proposing is not likely to relieve future headaches. You need to agressively pursue the people who (mis)manage the server to install logrotate for this specific purpose, perhaps offer a small fee, or something. Capitalism/politic suggestion is the correct solution to this problem, not risky race-prone code :) Greg