Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Dec 2000 10:48:51 -0800 (PST)
From:      John Baldwin <jhb@FreeBSD.ORG>
To:        Alexey Dokuchaev <danfe@inet.ssc.nsu.ru>
Cc:        freebsd-stable@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG
Subject:   RE: /dev/ttyv0 logging
Message-ID:  <XFMail.001218104851.jhb@FreeBSD.org>
In-Reply-To: <Pine.LNX.4.10.10012190027560.1575-100000@inet.ssc.nsu.ru>

next in thread | previous in thread | raw e-mail | index | archive | help

On 18-Dec-00 Alexey Dokuchaev wrote:
> 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...

So you've commented out this line:

*.err;kern.debug;auth.notice;mail.crit          /dev/console

(Just making sure.)

-- 

John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.Baldwin.cx/~john/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.001218104851.jhb>