Re: Log file_rotate
| From: | Hans_L | Date: | Wed, 30 Jun 2004 17:31:46 +0000 |
| Subject: | Re: Log file_rotate | ||
| References: | 1 2 3 4 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-31396@lists.php.net to get a copy of this message | ||
Justin Patrin wrote:
<snip>
There's no reason this shouldn't be in PEAR as some people *simply don't have access to it*. We have implementations of SMTP and HTTP in PEAR, but you could use sendmail or curl for those. The point of new functionality is increased flexibility and this would provide that. You don't have to use it, it's just another container. This could always bee one of those "sub-packages" that you install if you want it. Log_rotate or some such.It's pretty easy to write your own Log driver. Moreover, would this not accomplish the goal of log_rotate: $log_filename = 'mylog-' . date('Y-m-d') . '.log'; ? Hans