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
On Friday 09 November 2001 17:02,
"Mr. James W. Laferriere" <[email protected]> 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