Recycle PHP Log
| From: | Raymond Irving | Date: | Thu, 25 Oct 2012 19:16:39 +0000 |
| Subject: | Recycle PHP Log | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-63636@lists.php.net to get a copy of this message | ||
Hello,
How about adding an option to recycle the PHP log when it gets too big?
For example:
[php ini]
max_error_log_size = 512k
When the log file is larger than 512k rename the file by adding the current
date or timestamp:
php_error_as_at_2012_10_10.log
__
Raymond