Try this : at the prompt, type : kill -USR1 squid.pid
( replace squid.pid by the actual process ID !! )
This should rotate the log files
Jay
Hector Quin~ones wrote:
> 1) what to do, when in directory /var/log/squid, the files
> access.log, caches.log and store.log are very big?
> For example:
> [root@prox /root]# ls -al /var/log/squid/
> total 1314
> drwxr-xr-x 2 nobody nobody 3072 Nov 4 04:02 .
> drwxr-xr-x 8 root root 2048 Nov 2 15:34 ..
> -rw-r--r-- 1 nobody nobody 146869 Nov 4 08:13 access.log
> -rw-r--r-- 1 nobody nobody 0 Nov 4 04:02 access.log.1.gz
> -rw-r--r-- 1 nobody nobody 130792 Nov 4 04:01
> access.log.1.gz.1.gz
> -rw-r--r-- 1 nobody nobody 401813 Nov 3 03:48 access.log.2.gz
> -rw-r--r-- 1 nobody nobody 33 Nov 1 04:02 access.log.3.gz
> -rw-r--r-- 1 nobody nobody 1969 Nov 4 07:47 cache.log
> -rw-r--r-- 1 nobody nobody 0 Nov 4 04:02 cache.log.1.gz
> -rw-r--r-- 1 nobody nobody 2213 Nov 3 21:02 cache.log.1.gz.1.gz
> -rw-r--r-- 1 nobody nobody 1578 Nov 3 00:10 cache.log.2.gz
> -rw-r--r-- 1 nobody nobody 32 Nov 1 04:02 cache.log.3.gz
> -rw-r--r-- 1 nobody nobody 139276 Nov 4 08:13 store.log
> -rw-r--r-- 1 nobody nobody 0 Nov 4 04:02 store.log.1.gz
> -rw-r--r-- 1 nobody nobody 114046 Nov 4 04:01 store.log.1.gz.1.gz
> -rw-r--r-- 1 nobody nobody 383497 Nov 3 03:48 store.log.2.gz
> -rw-r--r-- 1 nobody nobody 32 Nov 1 04:02 store.log.3.gz
>
> 2) May I can rotate them?
> If I do, How?
> Thank You
> Your friends of Infomed
Received on Wed Nov 04 1998 - 08:45:44 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:42:56 MST