Apache localhost-access.log

The localhost-access.log has a size 3gb. What can apache2 break log on the parts 300mb, or the other issue, make log every week and index it with prifix current date(localhost-access_date.log)?
Please help.

look into logrotate.
Dont know what os you are using but on my CentOS(Redhat) its at /etc/logrotate.conf

In my case Solaris10.
bash-3.00# find /|grep logrotate.conf
/usr/sfw/lib/webmin/logrotate/config
/usr/sfw/lib/webmin/logrotate/config-*-linux
/usr/sfw/lib/webmin/logrotate/config-freebsd
/usr/sfw/lib/webmin/logrotate/config-open-linux
/usr/sfw/lib/webmin/logrotate/config.info
/usr/sfw/lib/webmin/logrotate/config.info.ca
/usr/sfw/lib/webmin/logrotate/config.info.de

All conf logrotate files, which?:confused:

Can list logrotate.conf?

take a look through this page
Managing your Linux/Unix log files using logrotate Teklimbu�s Weblog