From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1E0KHp-0008I8-4g for garchives@archives.gentoo.org; Wed, 03 Aug 2005 14:32:01 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j73ETcaN005937; Wed, 3 Aug 2005 14:29:40 GMT Received: from um1.unlimitedmail.net (184.Red-213-96-204.pooles.rima-tde.net [213.96.204.184]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j73ENcbx032035 for ; Wed, 3 Aug 2005 14:23:50 GMT Received: from ppp.zz ([137.204.208.98]) (authenticated bits=0) by um1.unlimitedmail.net (8.13.4/8.13.4) with ESMTP id j73EPLJY001589 for ; Wed, 3 Aug 2005 16:25:22 +0200 From: Etaoin Shrdlu To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] logrotate Date: Wed, 3 Aug 2005 16:32:45 +0200 User-Agent: KMail/1.8.1 References: <200508031154.57143.uwix@iway.na> <200508031311.24650.shrdlu@unlimitedmail.org> <200508031510.06784.uwix@iway.na> In-Reply-To: <200508031510.06784.uwix@iway.na> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200508031632.45379.shrdlu@unlimitedmail.org> X-UnlimitedMail-MailScanner: Found to be clean X-UnlimitedMail-MailScanner-From: shrdlu@unlimitedmail.org X-Archives-Salt: a1f5cc0b-cdc4-4d63-998c-69e4d8a10764 X-Archives-Hash: d64340db8ca2d909539b2c10b3410aeb On Wednesday 03 August 2005 16:10, Uwe Thiem wrote: > Are you sure you aren't using it? Have you looked into > /etc/cron.daily? Yes, I'm sure. # emerge -s logrotate * app-admin/logrotate Latest version available: 3.7.1-r1 Latest version installed: [ Not Installed ] Size of downloaded files: 31 kB Homepage: http://www.gentoo.org Description: Rotates, compresses, and mails system logs License: GPL-2 # ls /etc/cron.daily/ slocate syslog.cron where syslog.cron is _not_ part of logrotate, but is instead a script (I suppose it comes with sysklogd, but I'm not sure) whose purpose, as the name says, is to rotate syslog's files. Following the comments in it, I modified it to rotate all the files in /var/log (it's easy, here are the instructions: # sysklogd Cron script to rotate system log files daily. # # If you want to rotate other logfiles daily, edit # this script. An easy way is to add them manually # or to add -a to syslogd-listfiles and add some grep # stuff # # Written by Martin Schulze . ) This does the job for me, without the need to use the "real" logrotate app. -- gentoo-user@gentoo.org mailing list