Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: Hugh Fox on October 23, 2002, 10:36:40 AM

Title: squid access.log grew REALLY big
Post by: Hugh Fox on October 23, 2002, 10:36:40 AM
I've been investigating why my SME 5.5 seems to have a pretty full HD, and have discovered something which may be of interest to some of you ...

I'm not sure if my SME 5.5 is different from others, it is an upgrade from 5.1.2, with the SARG contrib added.

I've just found that my squid access.log is way too big. On checking a little deeper, I found that it had been excluded (at some time or other) from the list of logs to be rotated by etc/logrotate.d/squid. The entries for access.log rotation had all been commented out.

This has meant that I have all the accesses via squid logged since a bloody long time ago, and the file is now 500 Mb in size.

Does anyone know whether it is the SARG contrib which removes the access.log rotation, or is it something designed into SME?

In any case, I have uncommented the relevant lines so that my access.log will start to rotate.

Hugh