How to limit log file size in Apache2

Solution 1:

Take a look here:

http://httpd.apache.org/docs/2.0/programs/rotatelogs.html

You can save a logfile per day and delete old ones automatically with a cronjob. The lines can be done with a limitation of the file size (I think it is not necessary of it will be 120 or 100 lines?).