[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

message logging at bootup

Has anyone else had any luck getting /etc/init.d/boot to log its messages
into /var/log/messages?
As per suggestions from this group I have modified the line in inittab that
executes /etc/init.d/boot to look like:

si::sysinit:/etc/init.d/boot 2>&1 | logger -is -p user.info -t /etc/init.d/boot

I have tried several priority levels on user. but to no avail. I can tell
that logger is working to some extent because these messages on the console
are preceeded by the new tag

My syslog.conf file looks like:

# /etc/syslog.conf: syslogd(8) configuration file.
# $Id: syslog.conf,v 3.3 1995/02/24 23:44:14 imurdock Exp $

# You have to use tabs here!

auth.*							/var/log/auth.log
#cron.*							/var/log/cron.log
daemon.*;mail.*						/var/log/daemon.log
news.crit						/var/log/news.crit
news.err						/var/log/news.err
news.notice						/var/log/news.notice
local2.*						/var/log/net.log
user.*							/var/log/messages
*.=debug						/var/log/debug
*.=info;*.=notice;*=.warn;auth,cron,daemon,mail,news.none	/var/log/messages
*.emerg							*

# I like to have messages displayed on the console, but only on a virtual
# console I usually leave idle.
one	/dev/tty1

# The named pipe /dev/xconsole is for the `xconsole' utility.  To use it,
# you must invoke `xconsole' with the `-file' option:
#    $ xconsole -file /dev/xconsole [...]
ne	|/dev/xconsole

>From syslog.conf I would expect user.<anything> to end up in either messages
or debug. What am I doing wrong here? The only messages I get in messages
are from the kernel!

Almost any help would be greatfully accepted.

YHS, Dale

Reply to: