From owner-freebsd-hackers@FreeBSD.ORG Tue Jun 7 22:08:04 2011 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8EB51106566C for ; Tue, 7 Jun 2011 22:08:04 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) by mx1.freebsd.org (Postfix) with ESMTP id 64A178FC16 for ; Tue, 7 Jun 2011 22:08:04 +0000 (UTC) Received: from julian-mac.elischer.org (home-nat.elischer.org [67.100.89.137]) (authenticated bits=0) by vps1.elischer.org (8.14.4/8.14.4) with ESMTP id p57M7xxI025172 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Tue, 7 Jun 2011 15:08:02 -0700 (PDT) (envelope-from julian@freebsd.org) Message-ID: <4DEEA13C.7040200@freebsd.org> Date: Tue, 07 Jun 2011 15:07:56 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.4; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 MIME-Version: 1.0 To: Dieter BSD References: <20110607195735.198110@gmx.com> In-Reply-To: <20110607195735.198110@gmx.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: hackers@freebsd.org Subject: Re: Testing a change to printf(9) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Jun 2011 22:08:04 -0000 On 6/7/11 12:57 PM, Dieter BSD wrote: > I've been working on fixing problems with printf(9), log(9) and > related functions. Today I tried converting printf(9) to write > to the log rather than directly to the console, unless the log is > not open, in which case the message is also sent to the console. > Printf(...) is now the same as log(LOG_INFO, ...). oh please no! from my perspective, I want my printf output to go to the console. immediately, regardless of where it goes after that. I don't care if there is or is not a log. I do NOT want to EVER have the problem I've had on linux where the last vital bit of output never made it out before the system stopped. once it's been shown on the console I don't care what happens to it.. > I commented out the line in /etc/syslog.conf that sends > some log messages to the console. In multiuser mode, > normal printfs go to log, but not the console, as expected. > > Bootup messages, shutdown messages, and panic messages all > show up on the console as expected. > > Are there any other special cases to test? > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > >