FreeBSD Port: metalog-0.7,1

Dmitriy Shnayder dis5149 at cs.rit.edu
Fri Sep 26 15:02:33 PDT 2003


-----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-----



More information about the freebsd-ports mailing list