[syslog-ng]facility numbers
Wendell Turner
wturner@halcyon.com
Wed, 13 Dec 2000 13:50:32 -0800 (PST)
Sirs,
Some questions about facilities and priorities:
1) I see from the stock sys/syslog.h file there is:
#define LOG_UUCP (8<<3) /* uucp subsystem */
#define LOG_CRON (15<<3) /* cron/at subsystem */
/* other codes through 15 reserved for system use */
Have facility codes 9-14 ever been used? How could I use them for
my own logging? Would that interfere with any 'standard' syslog
functions? (I've already used the LOCAL0-7 ones, I would like
more.) The sl_facilities table in syslog-names.c doesn't seem to
allow for those in filters.
2) If that doesn't work, would it be proper to overload the stock
0-8 items with my own? Would that 'confuse' any other logging
tools, or is it just a number used in the filtering?
Thank you,
Wendell Turner