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
Just use logrotate for that.
Hello,
How about adding an option to recycle the PHP log when it gets too big?
For example:
[php ini]
max_error_log_size = 512kWhen 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
--
Wbr,
Antony Dovgal
http://pinba.org - realtime profiling for PHP
Hi,
Just use logrotate for that.
On Windows there is no logrotate by defautl, so that would be a nice feature ;)
Cheers
Mario
Hi,
On Thu, Oct 25, 2012 at 9:59 PM, Antony Dovgal tony@daylessday.org
wrote:Just use logrotate for that.
On Windows there is no logrotate by defautl, so that would be a nice
feature ;)Cheers
Mario--
I agree. This would definitely be a nice feature to have, at least for the
Windows build.
--Kris
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 include the whole world so that nobody has to
install any utilities besides it.
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227
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,
Hi,
On Thu, Oct 25, 2012 at 9:59 PM, Antony Dovgal tony@daylessday.org
wrote:Just use logrotate for that.
On Windows there is no logrotate by defautl, so that would be a nice
feature ;)Cheers
Mario--
I agree. This would definitely be a nice feature to have, at least for the
Windows build.--Kris
--
Pierre
@pierrejoye | http://blog.thepimp.net | http://www.libgd.org
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
change to the program?
__
Raymond
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,
Hi,
On Thu, Oct 25, 2012 at 9:59 PM, Antony Dovgal tony@daylessday.org
wrote:Just use logrotate for that.
On Windows there is no logrotate by defautl, so that would be a nice
feature ;)Cheers
Mario--
I agree. This would definitely be a nice feature to have, at least for
the
Windows build.--Kris
--
Pierre@pierrejoye | http://blog.thepimp.net | http://www.libgd.org
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 jobThere 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
change to the program?__
Raymondhi,
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,
Hi,
On Thu, Oct 25, 2012 at 9:59 PM, Antony Dovgal tony@daylessday.org
wrote:Just use logrotate for that.
On Windows there is no logrotate by defautl, so that would be a nice
feature ;)Cheers
Mario--
I agree. This would definitely be a nice feature to have, at least for
the
Windows build.--Kris
--
Pierre@pierrejoye | http://blog.thepimp.net | http://www.libgd.org
--
--
Tom Boutell
P'unk Avenue
215 755 1330
punkave.com
window.punkave.com