Hello Roland, If using Linux, just put something like this on your crontab: 1 0 * * * /usr/local/squid/sbin/squid -k rotate ( Define the numbers of rotate files you want to get in squid.conf (logfile_rotate) based on your retention needs) Hope this help, -- Igor Luiz 2010/1/5 Roland Roland <R_O_L_A_N_D@xxxxxxxxxxx>: > Hello, > > i'm looking to do the following hope someone could help me if its actually > feasible.. > each day at 8 AM, i want access.log to be renamed to > access.log.DateOfPreviousDay > that way on any given day access.log would only contains hits of the current > day.. > the reason i want this, is that i have SARG set to read everything from > /var/log/squid/access.log and outputs it in a nice graphical interface.. > though the problem is that i have hits from every day appended to the hits > of the previous day hence the request above.. > hope this all makes sense to you... > > thanks in advance:) > > -- Igor Luiz Oliveira de Souza Solic Tecnologia e Sistemas (77) 8829-7678 igorluiz@xxxxxxxxxxxx