* Re: [PATCH] Adding KERN_INFO to some printks
[not found] <Pine.LNX.4.40.0111091200310.2020-100000@filesrv1.baby-dragons.com>
@ 2001-11-09 21:17 ` vda
0 siblings, 0 replies; 2+ messages in thread
From: vda @ 2001-11-09 21:17 UTC (permalink / raw)
To: Mr. James W. Laferriere; +Cc: linux-kernel
On Friday 09 November 2001 17:02,
"Mr. James W. Laferriere" <babydr@baby-dragons.com> wrote:
> Hello Vda , Would you share your /etc/syslog.conf file ?
> I'd really like to see Good example of one . Most of the docs
> describe what all the options do , But don't show how they relate
> in the config file . Tia , JimL
>
> > I configured my syslog to sort all kernel msgs to
> > /var/log/syslog.N.debug|info|notice|warn|... (you got the idea)
> > and made it spew everything on tty12, and warnings only to tty11.
> >
> > I got tired of seeing purely informative messages on tty11 every
> > boot. They shouldn't be there.
# /etc/syslog.conf
#
# Message proirities:
# debug info notice warning err crit alert emerg
*.debug /var/log/syslog.7.debug
*.info /var/log/syslog.6.info
*.notice /var/log/syslog.5.notice
*.warn /var/log/syslog.4.warn
*.err /var/log/syslog.3.err
*.crit /var/log/syslog.2.crit
*.alert /var/log/syslog.1.alert
*.emerg /var/log/syslog.0.emerg
# >= crit: these will go to console too
# vda: had to comment it out: was dying on SAK 'coz held /dev/console open
# I hope syslogd maintainer will someday read this...
##*.crit /dev/console
# Log everything on 12th console, log 'serious' things on 11th
*.* /dev/tty12
*.warn /dev/tty11
#
# This might work instead to log on a remote host:
# *.* @hostname
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH] Adding KERN_INFO to some printks
@ 2001-11-08 14:35 vda
0 siblings, 0 replies; 2+ messages in thread
From: vda @ 2001-11-08 14:35 UTC (permalink / raw)
To: torvalds; +Cc: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 481 bytes --]
Hi Linus, all,
I configured my syslog to sort all kernel msgs to
/var/log/syslog.N.debug|info|notice|warn|... (you got the idea)
and made it spew everything on tty12, and warnings only to tty11.
I got tired of seeing purely informative messages on tty11 every
boot. They shouldn't be there.
I'll spend some time looking thru the code and adding KERN_INFO
where apprppriate. First such patch against 2.4.13 is attached.
Feel free to flame me if I'm doing something wrong.
--
vda
[-- Attachment #2: KERN_INFO-2.4.13.diff.gz --]
[-- Type: application/x-gzip, Size: 16388 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-11-09 19:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <Pine.LNX.4.40.0111091200310.2020-100000@filesrv1.baby-dragons.com>
2001-11-09 21:17 ` [PATCH] Adding KERN_INFO to some printks vda
2001-11-08 14:35 vda
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox