Date: Wed, 20 Aug 2008 14:48:10 +0200 From: "Rudi Kramer - MWEB" <rkramer@mweb.com> To: "Zbigniew Szalbot" <z.szalbot@lcwords.com>, "User Questions" <freebsd-questions@freebsd.org> Subject: RE: logrotate question Message-ID: <39DC135F7F0571489196E0B6F5D58B4A03B46071@MWBEXCH.mweb.com> References: <48AC0A7D.80207@lcwords.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> Zbigniew Szalbot > Sent: Wednesday, August 20, 2008 2:14 PM > To: User Questions > Subject: logrotate question >=20 > Dear all, >=20 > I am trying to use logrotate from ports and I am getting the following > error. Can anyone offer any insight? Hi Zbigniew, I started investigating logrotate but someone put me on to newsyslog instead.=20 Newsyslog is part of the FreeBSD and amazing simple to setup: 1) vi /etc/newsyslog.conf 2) Add the following line: /var/log/httpd/*.log www:www 644 60 * @T00 BJG /var/run/httpd.pid I would recommend reading man pages newsyslog newsyslog.conf for more info. Rudi
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39DC135F7F0571489196E0B6F5D58B4A03B46071>