In that case you might want to consider something like pphlogger instead of mucking around with the apache logs. It'll be much simpler for you to get working and you've got the database functionality ...
Web logs, also known as access logs, contain information about every visit to every site on a given server. These are analyzed by Angelfish to provide web log analytics. The logs themselves can also ...