FreeBSD Port: metalog-0.7,1
dis5149 at cs.rit.edu
Fri Sep 26 15:02:33 PDT 2003
-----BEGIN PGP SIGNED MESSAGE-----
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:
echo "$1 [$2] $3" >/dev/ttyvb
~From /etc/ttys, /dev/ttyvb is configured as "ttyvb none unknown off secure",
with tabs instead of spaces.
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
-----END PGP SIGNATURE-----
More information about the freebsd-ports