[PHP] Log Rotation, leave it to OS or do it in PHP code?

2011-02-26 Thread AmirBehzad Eslami
Dear list, It seems that Python has already a Log Rotation mechanism, which solves the problem of log file growth. I'm wondering whether there is any PHP-based solution around? Now let me ask from a different view: Is it a good approach to implement the Rotation mechanism to PHP? (Code Level)

Re: [PHP] Log Rotation, leave it to OS or do it in PHP code?

2011-02-26 Thread Ashley Sheridan
On Sat, 2011-02-26 at 16:37 +0330, AmirBehzad Eslami wrote: Dear list, It seems that Python has already a Log Rotation mechanism, which solves the problem of log file growth. I'm wondering whether there is any PHP-based solution around? Now let me ask from a different view: Is it a