From owner-freebsd-stable Mon Dec 18 10:31: 5 2000 From owner-freebsd-stable@FreeBSD.ORG Mon Dec 18 10:31:03 2000 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from linux.ssc.nsu.ru (linux.ssc.nsu.ru [193.124.219.91]) by hub.freebsd.org (Postfix) with SMTP id 91FB637B404 for ; Mon, 18 Dec 2000 10:30:52 -0800 (PST) Received: (qmail 11563 invoked from network); 18 Dec 2000 18:30:44 -0000 Received: from inet.ssc.nsu.ru (62.76.110.12) by hub.freebsd.org with SMTP; 18 Dec 2000 18:30:44 -0000 Received: from localhost (danfe@localhost) by inet.ssc.nsu.ru (8.9.3/8.9.3) with ESMTP id AAA02509; Tue, 19 Dec 2000 00:30:05 +0600 Date: Tue, 19 Dec 2000 00:30:05 +0600 (NOVT) From: Alexey Dokuchaev To: John Baldwin Cc: freebsd-questions@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG Subject: RE: /dev/ttyv0 logging In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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-stable" in the body of the message