Re: Log file_rotate
| From: | Yavor Shahpasov | Date: | Tue, 29 Jun 2004 13:00:24 +0000 |
| Subject: | Re: Log file_rotate | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-31333@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I am aware there are numerous utilities which provide this functionality
but it is bothersome go and configure rotation of the various log files
your application might have.
it is even more fun when you don't have full control over the system.
I am willing to sacrifice some performance for ease of use am sure
others are too.
Yavor
Antônio Carlos Venâncio Júnior wrote:
| Yavor,
|
| Yavor Shahpasov wrote:
|
|> I have an idea about a new log container
|>
|> It is basically the same as the file container but it would allow for
|> rotating logs
|>
|> Rotating would be based on
|> * monthly,weekly,daily,every n days
|> * end of script
|> * filesize bigger that n
|>
|> Also it might be nice if compression is implemented for rotated logs
|> (optioanlly of cource)
|>
|>
|> Let me know if this would be acceptable before I get anything done.
|
|
| i dunno if it's a good idea, since newsyslog is our friend. ;)| | ---------- | http://www.freebsd.org/cgi/man.cgi?query=newsyslog.conf&apropos=0&sektion=0&manpath=FreeBSD+4.10-stable&format=html | | # man newsyslog.conf | ---------- |
| If you still go ahead with it please use these as a guide.- -- Yavor Shahpasov yavo@siava.org Linux is not The Answer. Yes is the answer. Linux is The Question. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFA4WfoStotaDevvJARAq6PAKCCXszycsiell0cgwjfKvGjQWrdFQCcCO7O 2DNTELj7VbvQMcsIN2cYSzg= =94BL -----END PGP SIGNATURE-----