from my experience, syslog doesnt except anything below severity err onQuote:> When I type: logger -p kern.debug "this is a test" nothing happens -
the kern facility from anything but the kernel itself (the kern facility
is special in this way)
i presume you added something like..Quote:> nor when trying local5.notice (which I had recently defined and was
> testing). kern.debug comes as part of the default definitions for /
> etc/syslog.conf.
local5.debug /var/adm/messages
- you have to be sure to use tabs rather than spaces
7x2533333333 FILE: /var/adm/messagesQuote:> the numerical table prints out like this (hand typing as I only have
> a printout with me:
ok, an explanation of the table, each row represents an action - in this
case "write to file /var/adm/messages", there should be a row for each
line in you conf file, plus some "UNUSED"
If you have "UNUSED" followed by a filename then it would write to
"filename"
but "filename" doesnt exist.
Each column represents a facility.. column 1 is the kern facility, 2 =
user
3 = mail, 4 = daemon, 5 = auth.
The numbers represent the severity.. 0 = emerg, 1 = alert, 2 = crit etc,
x means that this facility doesnt use this action. So in this case,
kern.debug
and above will be written, nothing from user facility will written,
mail.crit
and more severe will be written, etc etc
HTH
Matt