Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Dec 2000 00:30:05 +0600 (NOVT)
From:      Alexey Dokuchaev <danfe@inet.ssc.nsu.ru>
To:        John Baldwin <jhb@FreeBSD.ORG>
Cc:        freebsd-questions@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG
Subject:   RE: /dev/ttyv0 logging
Message-ID:  <Pine.LNX.4.10.10012190027560.1575-100000@inet.ssc.nsu.ru>
In-Reply-To: <XFMail.001218102350.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 18 Dec 2000, John Baldwin wrote:

> 
> On 18-Dec-00 Alexey Dokuchaev wrote:
> > Hello!
> > 
> > Inspired by recent ${SUBJ} related (not too close though) discussion on
> > -current, I'm willing to ask you guys the following question: why do I
> > always get whatever is logged by syslog (or even bypassing it) on my
> > /dev/ttyv0?  Doesn't it make more sense to write logs to /dev/console, or
> > even not writing them at all?  I mean, should not I be allowed to take
> > complete control of whatever is going to be logged anywhere in my box?  It
> > seems that it doesn't really matter what I write in /etc/syslog.conf,
> > regardless to any contents of it, I will get messages on /dev/ttyv0 no
> > matter what.
> 
> /dev/ttyv0 is /dev/console by default.  If you boot over a serial console, then
> the messages will be logged over /dev/ttyd0 instead of /dev/ttyv0.  To disable
> syslog messages then, remove /dev/console from /etc/syslogd.conf if that is
> really what you want.

You see, the problem is that I do NOT have any entries dealing with
/dev/console or /dev/ttyv0 in my /etc/syslog.conf, and they still drop to
/dev/ttyv0...

--
	WBR,
	DAN Fe



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.10.10012190027560.1575-100000>