From owner-freebsd-hackers Thu Sep 12 10: 3:44 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F40D237B400 for ; Thu, 12 Sep 2002 10:03:40 -0700 (PDT) Received: from www.jhanna.com (ns1.jhanna.net [216.188.0.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7792643E42 for ; Thu, 12 Sep 2002 10:03:40 -0700 (PDT) (envelope-from soheils@jhanna.com) Received: from iranihamaster (adsl-63-207-128-111.dsl.sndg02.pacbell.net [63.207.128.111]) by www.jhanna.com (8.11.1/8.11.1) with SMTP id g8CHA3q00213 for ; Thu, 12 Sep 2002 10:10:03 -0700 (PDT) (envelope-from soheils@jhanna.com) From: "Soheil Shaghaghi" To: Subject: Clearing the Data logs Date: Thu, 12 Sep 2002 10:11:41 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal In-Reply-To: <20020912163652.5FD9837B405@hub.freebsd.org> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello everyone, I am using FreeBSD 4.6 and have a problem with the log files increasing rapidly! The directory /var/log has a bunch of log files in, like: messages.0 messages.1 messages.2 cron.0.gz maillog.5.gz messages.5.gz xferlog ... As these files get bigger and the numbers increase, the var partition gets full and as a result some applications stop responding. Is there a way to automatically remove these old log files? Thanks To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message