OK. After poking around my logs, seeing how big they are, here is what I decided my apache log/report policy should be:
1) rotate logs monthly, compressing the previous month's logs and deleting the earlier compressed logs... just leaving the current months logs (being added to) and the previous month's compressed log.
2) allow my customers to download the previous month's compressed log (giving them one month to do so before it is deleted).
3) I will personally ftp all their logs to a storage server and then, once a year actually mail them a cd with all of their previous year's logs burned on it (at least for the big clients). At the same time, I will make myself a cd and clean all the logs off my storage server, ready for the new year.
Also, I run urchin and it, in the best case scenario, produces reports that are about 10-12% of the size of the raw logs each month. Because of this, I can't keep them around forever. So my policy is to:
1) not count urchin reports against my account's disk quota
2) delete any urchin reports older than a year
I am pretty sure these policies will make even my most picky customers happy. Now the only question is, how do I get this to work in the cpanel context?
Specifically:
- how do I get the /home/account/tmp folder to not count against a customer's quota?
- which utility should I use to rotate raw logs and compress the previous months logs (and delete older)? WHM? logrotate? urchin?
- how can I make the previous month's logs easily available to clients?
- how does this all work with the cpanel options to archive previous months raw logs?
etc. etc.
Any answers to any of these questions would be appreciated by myself and, I'm guessing, to many others, too.
cPanel.net Support Ticket Number:



LinkBack URL
About LinkBacks
Reply With Quote







