Date: Fri, 26 Sep 2003 18:02:10 -0500 From: Dmitriy Shnayder <dis5149@cs.rit.edu> To: sergei@kolobov.com Cc: ports@FreeBSD.org Subject: FreeBSD Port: metalog-0.7,1 Message-ID: <3F74C572.60103@cs.rit.edu>
next in thread | raw e-mail | index | archive | help
-----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-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F74C572.60103>