Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 May 2007 15:11:47 +0400
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        "M. Warner Losh" <imp@bsdimp.com>
Cc:        rwatson@FreeBSD.org, src-committers@FreeBSD.org, andre@FreeBSD.org, cvs-all@FreeBSD.org, cvs-src@FreeBSD.org
Subject:   Re: cvs commit: src/sys/netinet tcp_syncache.c
Message-ID:  <20070528111147.GN89017@FreeBSD.org>
In-Reply-To: <20070525.165823.29499700.imp@bsdimp.com>
References:  <46569762.6090801@freebsd.org> <20070525090951.F53865@fledge.watson.org> <46575362.1050005@freebsd.org> <20070525.165823.29499700.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, May 25, 2007 at 04:58:23PM -0600, M. Warner Losh wrote:
M> : during program debugging.  Everything below LOG_NOTICE should not
M> : need fsync after each line.  An examination of all users of LOG_DEBUG
M> : in our kernel doesn't show anything critical that would require fsync.
M> : The attached patch fixes syslog.conf in this regard.
M> 
M> /var/log/debug.log doesn't exist by default.

True, so the second chunk of the patch isn't necessary.

M> Also, this patch removes
M> *ALL* kernel messages from /var/log/messages, which isn't right
M> either.

Yes, only kern.notice messages will be logged. Andre probably
wants to change kern.debug to kern.info. I don't really agree
with this suggestion. In this case all the kern.debug messages
will be lost, so what is the sense in improving the debugging
verbosity of the kernel, if we don't log it anywhere?


-- 
Totus tuus, Glebius.
GLEBIUS-RIPN GLEB-RIPE



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070528111147.GN89017>