Reading the current syslog RFC draft,
<URL:http://www.employees.org/~lonvick/draft4.txt>, I find no
description of the syslog message content. I suggest adding something
like this:
The message is plain text with ASCII encoding, and commonly formated
like this (using C printf notation):
"<%2d>%s", num, info
The number is the sum of the priority and the facility using this
formula:
num = priority + facility * 8
The values of priority and facility are normally given this
interpretation, as found in <sys/syslog.h>.
priority facility
-----------------------
0 emergency kernel
1 alert user
2 critical mail
3 error daemon
4 warning auth
5 notice syslog
6 info lpr
7 debug news
8 uucp
9 cron
10 authpriv
11 ftp
12-15 (reserved)
16 local0
17 local1
18 local2
19 local3
20 local4
21 local5
22 local6
23 local7
The info part of the message normally consists of the name and some
times the process id of the program sending this message, and some
informative text with the content of the message. These parts are
normally formatted like this:
"%s: %s", progname, text
or, if the pid part is part of the message:
"%s[%d]: %s", progname, pid, text
BTW: I believe the "Universal Format for Logger Messages DRAFT"
document should be referenced in the RFC, as it is the only
suggestion I know of on how the 'text' part of the messages should
be formated.
--
##> Petter Reinholdtsen <## | [EMAIL PROTECTED]
O- <SCRIPT Language="Javascript">window.close()</SCRIPT>
http://www.hungry.com/~pere/ | Go Mozilla, go! Go!