From owner-freebsd-questions Mon Dec 18 10:25:13 2000 From owner-freebsd-questions@FreeBSD.ORG Mon Dec 18 10:25:09 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from pike.osd.bsdi.com (pike.osd.bsdi.com [204.216.28.222]) by hub.freebsd.org (Postfix) with ESMTP id 1FAEC37B400; Mon, 18 Dec 2000 10:25:09 -0800 (PST) Received: from foo.osd.bsdi.com (root@foo.osd.bsdi.com [204.216.28.137]) by pike.osd.bsdi.com (8.11.1/8.9.3) with ESMTP id eBIIP3E14866; Mon, 18 Dec 2000 10:25:03 -0800 (PST) (envelope-from jhb@foo.osd.bsdi.com) Received: (from jhb@localhost) by foo.osd.bsdi.com (8.11.1/8.11.0) id eBIINol82730; Mon, 18 Dec 2000 10:23:50 -0800 (PST) (envelope-from jhb) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Mon, 18 Dec 2000 10:23:50 -0800 (PST) Organization: BSD, Inc. From: John Baldwin To: Alexey Dokuchaev Subject: RE: /dev/ttyv0 logging Cc: freebsd-questions@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG Sender: jhb@foo.osd.bsdi.com Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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. -- John Baldwin -- 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-questions" in the body of the message