From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 06:08:55 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 194E416A4B3 for ; Tue, 7 Oct 2003 06:08:55 -0700 (PDT) Received: from webserver2.rtl.org (rtl-3.i2k.com [63.94.12.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 97C8C43FE3 for ; Tue, 7 Oct 2003 06:08:53 -0700 (PDT) (envelope-from jstewart@rtl.org) Received: from rtl.org (rtl-2.i2k.com [63.94.12.206]) by webserver2.rtl.org (8.11.6/8.11.6) with ESMTP id h97D1UT00351 for ; Tue, 7 Oct 2003 09:01:30 -0400 Message-ID: <3F82BA3F.3040201@rtl.org> Date: Tue, 07 Oct 2003 09:06:07 -0400 From: Jason Stewart User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030701 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Free BSD Questions list Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Squid and newsyslog X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2003 13:08:55 -0000 I'm having trouble rotating my squid access.log and cache.log with newsyslog. Here is my entry in newsyslog.conf: /usr/local/squid/logs/access.log nobody.nogroup 644 7 * 168 Z /usr/local/squid/logs/squid.pid (ditto, but for cache.log also) I have the pid file, the mode, user, and group. The new log is created just fine with the correct ownership and permissions and the old one is trimmed, but squid does not actually restart. The new logfile does not get appended to. For now, I have the newsyslog entry commented out and I'm rotating the log by hand, but sometime I'd like to get it working automatically. For some reason, newsyslog and squid aren't working well together. Any ideas? Thanks, Jason Stewart