From owner-freebsd-hackers Tue Sep 1 15:25:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA07066 for freebsd-hackers-outgoing; Tue, 1 Sep 1998 15:25:13 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from whistle.com (s205m131.whistle.com [207.76.205.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA07037 for ; Tue, 1 Sep 1998 15:25:09 -0700 (PDT) (envelope-from archie@whistle.com) Received: (from smap@localhost) by whistle.com (8.7.5/8.6.12) id PAA18423 for ; Tue, 1 Sep 1998 15:24:08 -0700 (PDT) Received: from bubba.whistle.com(207.76.205.7) by whistle.com via smap (V1.3) id sma018419; Tue Sep 1 15:23:56 1998 Received: (from archie@localhost) by bubba.whistle.com (8.8.7/8.6.12) id PAA17824 for freebsd-hackers@freebsd.org; Tue, 1 Sep 1998 15:23:56 -0700 (PDT) From: Archie Cobbs Message-Id: <199809012223.PAA17824@bubba.whistle.com> Subject: default syslog priority for kernel messages To: freebsd-hackers@FreeBSD.ORG Date: Tue, 1 Sep 1998 15:23:56 -0700 (PDT) X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In syslogd.c, the default priority for messages from the kernel is "critical": #define DEFSPRI (LOG_KERN|LOG_CRIT) It seems that in practice, this is not really appropriate. Only rarely are kernel-generated messages truly critical. Would anyone object if this were changed to be NOTICE instead? [ It seems like the real solution is to change all the kernel code that uses "printf(...)" to use "log(LOG_XXX, ...)" instead, where XXX is the appropriate priority for that particular message (anyone interested in a mini-project?? :-) IMHO, printf() in the kernel should be deprecated in favor of log(). ] -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message