On 6/20/07, Firas A. Mubarak <mubarak316@xxxxxxxxx> wrote:
I have to store my access.log files for 6 months. i need to log rotate the file every 6 hours and then get it uploaded to a local FTP server automatically.
For my large pool of load-balanced caches, I rebuilt squid using the custom logging patch, so Squid sends access events to a remote loghost via syslog, let the team in charge of the log server deal with issues like retention and disk space :) With that approach, I chose to disable the local cache_access and cache_store logging entirely to save disk I/O and CPU time, but you might want to just rotate the local logs quickly so you have a few hours on-box for debugging purposes. Kevin