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

From: Date: Sat, 26 Feb 2011 13:07:48 +0000
Subject: Log Rotation, leave it to OS or do it in PHP code?
Groups: php.general 
Request: Send a blank email to php-general+get-311586@lists.php.net to get a copy of this message
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) Or leave the job to the operating system and other utilities? Where is the right place to implmenet the Rotation? In Code? In OS? PHP? or a Bash Script? Thanks,

« previous php.general (#311586) next »