Re: Rotating Log-Container
| From: | Stephan Wentz | Date: | Fri, 04 Feb 2005 08:10:03 +0000 |
| Subject: | Re: Rotating Log-Container | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-35932@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Greg Beaver wrote:
| 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 :)
Yea, I'll try it this way. Maybe they'll agree without me getting
capitalistic ;-)
Stephan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCAy3b8qQ9XV7tBNQRAtVLAKDNYzXu6iq0Jm/4AIcvaibdr0RT2gCghGNh
FdWJYgfSjae4tOKtIbYfQAM=
=HuUH
-----END PGP SIGNATURE-----