Re: Help

From: Irfan Akber <[email protected]>
Date: Wed, 4 Nov 1998 20:45:11 -0000

You can rotate them by giving squid -USR1 signal and then delete the log
files ending with 0 and onwards i.e leaving the actual newly created one.

Irfan Akber

----------
> From: Hector Quin~ones <hq@infomed.sld.cu>
> To: squid-users@ircache.net
> Subject: Help
> Date: Wednesday, November 04, 1998 1:18 PM
>
> 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 - 09:00:28 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:42:56 MST