[solved] daily log

hi all, i want to ask how i made the maxFileSize in CFileLogRoute be unlimited?? i want to write the log file per day. thanks

I don’t think that you are able to set an unlimited filesize because this wouldn’t make sense. You can either set it to a gigantic number to allow gigabyte sized logs or you use another approach like the CDbLogRoute and store it in a database. The second approach would allow to do some advanced analytics because you would be able to query by day/timestamp

By the way. Look at this post. This could be interesting too:

http://www.yiiframework.com/forum/index.php?/topic/18542-dynamiv-yii-logfilename/

Mike said:

thanks all for your help