cvs commit: src/sys/netinet tcp_syncache.c
Dmitry Morozovsky
marck at rinet.ru
Wed May 30 23:07:06 UTC 2007
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 at rinet.ru ***
------------------------------------------------------------------------
More information about the cvs-src
mailing list