So? Non-administrative users should not be worrying about rotating log
files. "Shared services" have administrators who are keenly interested
in not running out of disk space due to silly things like log files
and provide rotation of them (or if not, you have a choice of better
providers who do).
Most of these utilities require admin user access to the server. For
example, Logrotate is normally run as a daily cron job
There are a lot of shared services that will not allow users to install or
run certain jobs.
How difficult will if be to add this feature to PHP? Will it require major
chan
hi,
No, we won't implement that as it is already available by default on
windows. check the AutoBackupLogFiles option.
For people not using windows log system but classic files, there are
plenty of tools to do it as well.
Cheers,
On Sat, Oct 27, 2012 at 11:53 AM, Kris Craig wrote:
> On Sat, Oc
Hi!
>> On Windows there is no logrotate by defautl, so that would be a nice
>> feature ;)
> I agree. This would definitely be a nice feature to have, at least for the
> Windows build.
There are a number of solutions for that:
https://www.google.com/search?q=logrotate+windows
PHP doesn't have to
On Sat, Oct 27, 2012 at 2:17 AM, Mario Brandt wrote:
> Hi,
>
> On Thu, Oct 25, 2012 at 9:59 PM, Antony Dovgal
> wrote:
> > Just use logrotate for that.
>
> On Windows there is no logrotate by defautl, so that would be a nice
> feature ;)
>
> Cheers
> Mario
>
> --
> PHP Internals - PHP Runtime De
Hi,
On Thu, Oct 25, 2012 at 9:59 PM, Antony Dovgal wrote:
> Just use logrotate for that.
On Windows there is no logrotate by defautl, so that would be a nice feature ;)
Cheers
Mario
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Just use logrotate for that.
On 2012-10-25 23:16, Raymond Irving wrote:
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 timestam