From owner-freebsd-questions Thu Dec 13 8:49:24 2001 Delivered-To: freebsd-questions@freebsd.org Received: from sage-american.com (sage-american.com [216.122.141.44]) by hub.freebsd.org (Postfix) with ESMTP id 3652F37B419 for ; Thu, 13 Dec 2001 08:49:20 -0800 (PST) Received: from SAGEONE (adsl-64-219-20-12.dsl.crchtx.swbell.net [64.219.20.12]) by sage-american.com (8.9.3/8.9.3) with SMTP id KAA25571; Thu, 13 Dec 2001 10:49:15 -0600 (CST) Message-Id: <3.0.5.32.20011213104923.03dc67c8@mail.sage-american.com> X-Sender: jacks@mail.sage-american.com X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Thu, 13 Dec 2001 10:49:23 -0600 To: Donnie Jones , freebsd-questions@FreeBSD.ORG From: jacks@sage-american.com Subject: Re: IPFM ( IP Flow Meter) log rotation. In-Reply-To: <20011213155443.59205.qmail@web20604.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" 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 Have you tried not using the wildcard for one thing... why not use the exact log name...??? At 07:54 AM 12.13.2001 -0800, Donnie Jones wrote: >Heya, > >I am trying to set up newsyslog to rotate my logs >for IPFM to keep my /var partition from filling up. > >The problem is that I can't get newsyslog to recognize >the filenames for the IPFM log files. > >newsyslog.conf: ># logfilename [owner:group] mode count >size when [ZB] [/pid_file] [sig_num] > >/var/log/ipfm/*.log 600 12 100 * Z >/var/log/ipfm/%d-%b.%H-%M-internet.log 600 12 100 > * Z > >ipfm.conf: ># IPFM logging rules >DEVICE fxp0 >LOG >FILENAME /var/log/ipfm/%d-%b.%H-%M-internet.log >TIME 1 minute > >This is the command I am running: > >newsyslog -n -v -F -a /home/logs/ > >and the output: > >/var/log/ipfm/*.log <12Z>: does not exist. >/var/log/ipfm/%d-%b.%H-%M-internet.log <12Z>: does >not exist. > > >It seems that newsyslog will not recognize the * in >a filename. > >Any ideas how I could get newsyslog to recognize these >files without having to take away the date from the >IPFM log filename. > >Thanks. > >-Donnie > >__________________________________________________ >Do You Yahoo!? >Check out Yahoo! Shopping and Yahoo! Auctions for all of >your unique holiday gifts! Buy at http://shopping.yahoo.com >or bid at http://auctions.yahoo.com > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message > > Best regards, Jack L. Stone, Server Admin Sage-American http://www.sage-american.com jacks@sage-american.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message