From owner-freebsd-questions Thu Dec 13 7:54:48 2001 Delivered-To: freebsd-questions@freebsd.org Received: from web20604.mail.yahoo.com (web20604.mail.yahoo.com [216.136.226.162]) by hub.freebsd.org (Postfix) with SMTP id 51A3B37B41A for ; Thu, 13 Dec 2001 07:54:44 -0800 (PST) Message-ID: <20011213155443.59205.qmail@web20604.mail.yahoo.com> Received: from [136.165.81.139] by web20604.mail.yahoo.com via HTTP; Thu, 13 Dec 2001 07:54:43 PST Date: Thu, 13 Dec 2001 07:54:43 -0800 (PST) From: Donnie Jones Subject: IPFM ( IP Flow Meter) log rotation. To: freebsd-questions@freebsd.org 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 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