Date: Thu, 31 May 2007 02:56:55 +0400 (MSD) From: Dmitry Morozovsky <marck@rinet.ru> To: Gleb Smirnoff <glebius@freebsd.org> Cc: src-committers@freebsd.org, andre@freebsd.org, cvs-src@freebsd.org, cvs-all@freebsd.org, rwatson@freebsd.org, "M. Warner Losh" <imp@bsdimp.com> Subject: Re: cvs commit: src/sys/netinet tcp_syncache.c Message-ID: <20070531025452.F79710@woozle.rinet.ru> In-Reply-To: <20070528111147.GN89017@FreeBSD.org> References: <46569762.6090801@freebsd.org> <20070525090951.F53865@fledge.watson.org> <46575362.1050005@freebsd.org> <20070525.165823.29499700.imp@bsdimp.com> <20070528111147.GN89017@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 28 May 2007, Gleb Smirnoff wrote: GS> On Fri, May 25, 2007 at 04:58:23PM -0600, M. Warner Losh wrote: GS> M> : during program debugging. Everything below LOG_NOTICE should not GS> M> : need fsync after each line. An examination of all users of LOG_DEBUG GS> M> : in our kernel doesn't show anything critical that would require fsync. GS> M> : The attached patch fixes syslog.conf in this regard. GS> M> GS> M> /var/log/debug.log doesn't exist by default. GS> GS> True, so the second chunk of the patch isn't necessary. GS> GS> M> Also, this patch removes GS> M> *ALL* kernel messages from /var/log/messages, which isn't right GS> M> either. GS> GS> Yes, only kern.notice messages will be logged. Andre probably GS> wants to change kern.debug to kern.info. I don't really agree GS> with this suggestion. In this case all the kern.debug messages GS> will be lost, so what is the sense in improving the debugging GS> verbosity of the kernel, if we don't log it anywhere? On most our, both production and development machines, I used to have kern.debug -/var/log/kernlog Maybe it's (tigether with the adding kernlog to newsyslog.conf with C flag) reasonable compromise? Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070531025452.F79710>