Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Mar 2002 19:19:51 -0600
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Jon Larssen <jonlarssen@hotmail.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Squid log rotation?
Message-ID:  <20020331011951.GA4716@dan.emsphone.com>
In-Reply-To: <F1852qwZRYQjP2cz1uz0000a866@hotmail.com>
References:  <F1852qwZRYQjP2cz1uz0000a866@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020331011951.GA4716>