Hallo, Ahmad, Du meintest am 06.04.13: > but if i want to limit the size of log file : > assume i want max size of > access.log =>2 G > cache.log ==>2G > store.log==>2G > and if the files size exceeded , i wan to replace the same file . > how can i do it ? > does just " logfile_rotate" sufficient ? What about "logrotate"? Many distributions use this program for the job. It may use a file like "/etc/logrotate.d/squid". Viele Gruesse! Helmut