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 1E2E1B-0007bh-6z for garchives@archives.gentoo.org; Mon, 08 Aug 2005 20:14:41 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j78KCmgI028683; Mon, 8 Aug 2005 20:12:48 GMT Received: from mail.datamosaics.com ([216.64.163.70]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j78KCkXp013815 for ; Mon, 8 Aug 2005 20:12:47 GMT Message-Id: <200508082012.j78KCkXp013815@robin.gentoo.org> Received: (qmail 4256 invoked from network); 8 Aug 2005 13:13:00 -0700 Received: from unknown (HELO dmis) (67.185.72.224) by 0 with SMTP; 8 Aug 2005 13:13:00 -0700 From: "Sean Wells" To: Subject: RE: [gentoo-server] Date: Mon, 8 Aug 2005 13:18:55 -0700 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-server@gentoo.org Reply-to: gentoo-server@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 In-Reply-To: <42F7BA02.4020205@bellsouth.net> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 Thread-Index: AcWcVCtx6/GIxeZtSNeuZd0mL1AzogAAiOsw X-Archives-Salt: 8874fe5c-17f4-4b0b-995d-5ec979fea4e5 X-Archives-Hash: d1469751a37f8cfd5d9b738a65dff1f6 I use logrotate to loop through the logs daily...I generally only keep a weeks worth or so due to size. It'll automatically remove the old ones just fine in the end. Sean Wells Network Administrator Data Mosaics, Inc. 2406 S. Dishman Mica Rd. Suite 6 Spokane Valley, WA 99206 866.904.DMSF (phone) 509.928.4236 (fax) -----Original Message----- From: david [mailto:abbottdavid@bellsouth.net] Sent: Monday, August 08, 2005 1:01 PM To: gentoo-server@lists.gentoo.org Subject: [gentoo-server] What is the right way to clean apache2 logs? /var/log/apache2/access_log and error_log point to /usr/lib/apache2/logs/access_log and error_log I have been cd /usr/lib/apache2/logs rm access_log touch access_log chmod 666 access_log same for error_log I could leave error_log alone because its not very big, I do it to access_log because it is huge and webalizer complains. Should root own these logs or apache? -- gentoo-server@gentoo.org mailing list -- gentoo-server@gentoo.org mailing list