From owner-freebsd-ports@FreeBSD.ORG Fri Sep 26 15:02:33 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7217A16A4B3 for ; Fri, 26 Sep 2003 15:02:33 -0700 (PDT) Received: from pony-express.cs.rit.edu (pony-express.cs.rit.edu [129.21.30.24]) by mx1.FreeBSD.org (Postfix) with SMTP id A52B543FF5 for ; Fri, 26 Sep 2003 15:02:31 -0700 (PDT) (envelope-from dis5149@cs.rit.edu) Received: (qmail 1760 invoked by uid 20006); 26 Sep 2003 22:02:30 -0000 Received: from dis5149@cs.rit.edu by pony-express by uid 20003 with qmail-scanner-1.20rc1 (clamscan: 0.60. spamassassin: 2.55. Clear:RC:1:. Processed in 0.150223 secs); 26 Sep 2003 22:02:30 -0000 Received: from hidden.rh.rit.edu (HELO cs.rit.edu) (129.21.115.190) by pony-express.cs.rit.edu with SMTP; 26 Sep 2003 22:02:30 -0000 Message-ID: <3F74C572.60103@cs.rit.edu> Date: Fri, 26 Sep 2003 18:02:10 -0500 From: Dmitriy Shnayder User-Agent: Mozilla/5.0 (X11; U; Linux i386; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en, ru, es-es MIME-Version: 1.0 To: sergei@kolobov.com X-Enigmail-Version: 0.76.7.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: ports@FreeBSD.org Subject: FreeBSD Port: metalog-0.7,1 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Sep 2003 22:02:33 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I have successfully installed metalog, and when I run it, messages are successfully logged to files in various /var/log/* directories I defined in the metalog.conf file. However, I have been unable to direct the output to the console, unlike with syslogd. My question is what I should do to see the output on console ttyvb, which I see with syslogd when I press Ctrl-Alt-F12. Here is the relevant portion of metalog.conf: Console logging : ~ facility = "*" ~ command = "/usr/local/sbin/consolelog.sh" Consolelog.sh has the following contents: #!/bin/sh echo "$1 [$2] $3" >/dev/ttyvb ~From /etc/ttys, /dev/ttyvb is configured as "ttyvb none unknown off secure", with tabs instead of spaces. - -- Dmitriy Shnayder Telephone: 585-758-4262 Resume: http://www.rit.edu/~dis5149/resume.doc PGP key: http://www.rit.edu/~dis5149/pgp.pub -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE/dMVyvepOHXmSZpsRApdYAJ9auHOuDMv63TdQo4O3NBcUy14clgCffgOc tK8/It9QCQfVxMPQFq3Q5qo= =Duki -----END PGP SIGNATURE-----