cvs commit: src/sys/netinet tcp_syncache.c

Gleb Smirnoff glebius at FreeBSD.org
Mon May 28 11:11:53 UTC 2007


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


More information about the cvs-all mailing list