From owner-freebsd-questions Sat Mar 30 17:19:57 2002 Delivered-To: freebsd-questions@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id 52C4A37B405 for ; Sat, 30 Mar 2002 17:19:53 -0800 (PST) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.12.2/8.12.2) with ESMTP id g2V1Jphd047604; Sat, 30 Mar 2002 19:19:52 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.2/8.12.2/Submit) id g2V1JpFQ047603; Sat, 30 Mar 2002 19:19:51 -0600 (CST) Date: Sat, 30 Mar 2002 19:19:51 -0600 From: Dan Nelson To: Jon Larssen Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Squid log rotation? Message-ID: <20020331011951.GA4716@dan.emsphone.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In the last episode (Mar 30), Jon Larssen said: > Hi, > > (this is for Squid users) I'm trying to rotate Squid's log files with > newsyslog, but, after it rotates it every midnight, Squid won't update the > file anymore. Should I use Squid's own log rotation capabilities? I use this newsyslog entry, and it seems to work fine. /usr/local/squid/logs/access.log nobody:wheel 644 7 40000 * Z /var/run/squid.pid 30 -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message