From owner-freebsd-arch@FreeBSD.ORG Thu Nov 29 16:59:40 2012 Return-Path: Delivered-To: freebsd-arch@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 84F3E842; Thu, 29 Nov 2012 16:59:40 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.glebius.int.ru (glebius.int.ru [81.19.69.10]) by mx1.freebsd.org (Postfix) with ESMTP id E62EB8FC08; Thu, 29 Nov 2012 16:59:39 +0000 (UTC) Received: from cell.glebius.int.ru (localhost [127.0.0.1]) by cell.glebius.int.ru (8.14.5/8.14.5) with ESMTP id qATGxcmO020899; Thu, 29 Nov 2012 20:59:38 +0400 (MSK) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.glebius.int.ru (8.14.5/8.14.5/Submit) id qATGxcAD020898; Thu, 29 Nov 2012 20:59:38 +0400 (MSK) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.glebius.int.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Thu, 29 Nov 2012 20:59:38 +0400 From: Gleb Smirnoff To: Pawel Jakub Dawidek Subject: Re: Print a (rate-limited) warning when UMA zone is full. Message-ID: <20121129165938.GO14202@FreeBSD.org> References: <20121129090147.GB1370@garage.freebsd.pl> <20121129103752.GD1370@garage.freebsd.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <20121129103752.GD1370@garage.freebsd.pl> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Robert Watson , freebsd-arch@FreeBSD.org X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Nov 2012 16:59:40 -0000 On Thu, Nov 29, 2012 at 11:37:52AM +0100, Pawel Jakub Dawidek wrote: P> I'm happy with using log(9), but currently when log(9) is used, the P> message is not printed on the console, it only ends up in the system P> log. printf(9) on the other hand is printed on the console and is P> appended to the system logs. P> P> The only case where log(9) will actually log to the console, AFAIR, is P> when syslogd is not working. ... or when syslogd is configured to log to console :) Extensive use of kernel printfs kills boxes that run serial consoles. I'd prefer to see all logging in kernel done via log(9) and default syslogd.conf configured to write kern.* to console. Those people, who run serial consoles can remove this from their syslogd.conf. -- Totus tuus, Glebius.