From owner-freebsd-questions Mon Sep 2 11:24:18 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7485637B400 for ; Mon, 2 Sep 2002 11:24:15 -0700 (PDT) Received: from hotmail.com (oe17.pav2.hotmail.com [64.4.36.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3096B43E3B for ; Mon, 2 Sep 2002 11:24:15 -0700 (PDT) (envelope-from unixtools@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 2 Sep 2002 11:24:15 -0700 X-Originating-IP: [202.41.224.36] From: "Unix Tools" To: "David Banning" , References: <20020901030500.A89971@skytrackercanada.com> Subject: Re: logs take up too much space Date: Mon, 2 Sep 2002 12:08:46 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: X-OriginalArrivalTime: 02 Sep 2002 18:24:15.0032 (UTC) FILETIME=[F1431380:01C252AD] Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG It seems your var partition is vary small. just symlink directories on /var 1) mv /var/tmp /usr and ln -s /usr/tmp /var/tmp 2) mv /var/mail /usr and ln -s /usr/mail /var/mail 3) mv /var/log /usr and ln -s /usr/log /var/log Rotating logs is also a solution. But most of the softwares rotate logs by default. ----- Original Message ----- From: "David Banning" To: Sent: Sunday, September 01, 2002 12:35 PM Subject: logs take up too much space > My logs grow so big that my /var section of the drive gets full. > > Is there a way to set the log so that it trims the length of the log? > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message