Re: [squid-users] Meaning of empty file "0"

From: Hans Juergen von Lengerke <lengerkeh@dont-contact.us>
Date: Tue, 26 Mar 2002 19:37:41 +0100 (CET)

Rost, Werner <Werner.Rost@zfboge.com> on Mar 26, 2002:

> No. There are files with name "0".
> Example: /usr/local/squid/logs:
>
> # ls -l
> total 143844
> -rw-r--r-- 1 root system 0 Feb 21 20:36 0
> -rw-r--r-- 1 squid system 14622218 Mar 26 14:31 access.log
> -rw-r--r-- 1 squid system 17250442 Mar 26 00:44 access.log.0
>
> I found those files on several other locations too.

These are rotated access.log's which squid produces when you do

   squid -k rotate

or when you send SIGUSR1 to the squid process. Have a look at your
crontabs. Find one that starts with:

   44 0 * * *

Oh, and I bet your squid.conf contains:

   logfile_rotate 1

which instructs squid to keep one rotated log on disk, namely
access.log.0.
Received on Tue Mar 26 2002 - 11:38:18 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:07:06 MST