I've been working with support for the last few weeks, trying to do something one would think would be rather simple. That is, get complete, monthly raw Apache access logs for my domains.
According to support, complete monthly logs are not kept or provided to customers. I've been at numerous ISP's, and this is unheard of - every one of them tar'ed/gzipped them at the end of the month, and made them available (most for 2-3 months.)
The official options suggested are all flawed, as are work-arounds I've tried.
Download via CPanel - This works fine, if all you want are month-to-date logs. It's a little unreasonable to expect customers to login at 11:59PM on the last day of the month to get a complete monthly log, though.
So I asked support about direct shell access to the raw logs - figured I could set up a cron job that tar'ed/gzipped the logs to my home directory on the last day of the month. I was provided with the path to my logs, and thought all was fine - until I realized the path provided would not work, presumably due to permissions or the lock-down in place thanks to jailshell.
So...support creates a logs folder under my home directory, and configures Apache to write them there. Perfect! Or so I thought...then it dawned on me that home directories are subject to quotas, and raw log files can get huge - checked my November log file and it's already at 200MB. Needless to say, having 40% of my disk quota taken up by an access log ain't gonna cut it.
The solution is simple, but Jag seems unwilling or unable to do it; simply tar/gzip access logs at the end of the month, copy them to home directories for folks who want them, then delete the originals as they currently do.
How are the rest of you dealing with this? I can't be the only person here who wants their logs...
Bill


LinkBack URL
About LinkBacks



Reply With Quote

Bookmarks