From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,e3c8dfd4797f24d,start X-Google-Attributes: gidfa528,public From: Robert Lowe Subject: syslog facilities problem Date: 2000/10/07 Message-ID: <39DF71A1.437C8C77@X-no.spam-X.lawrence.edu>#1/1 X-Deja-AN: 678728507 Content-Transfer-Encoding: 7bit X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@wiscnews.wiscnet.net X-Trace: wiscnews.wiscnet.net 970945042 19840 143.44.64.44 (7 Oct 2000 18:57:22 GMT) Organization: Wiscnet Mime-Version: 1.0 NNTP-Posting-Date: 7 Oct 2000 18:57:22 GMT Newsgroups: comp.unix.tru64 Hi! I'm trying to log messages from a firewall to a Tru64 box. The firewall allows me to choose facilities 16-23, which are to correspond with local0-local7. I have not been successful in logging anything however. So I went digging a bit. In /usr/include/syslog_pri.h, one will find the entries listed for the various facilities. You will note, that while the entries for local0-local7 appear to be shown as 16-23, they are bit-shifted three places. A brief trip through the logger man page seems to support this, since one can specify facilities by name or by number, and the numbers are all 8x what you would expect. So, how can I log messages to my Tru64 4.0d box if the firewall s/w lets me specify 16-23 but syslogd really seems to want 16...23 x 8 ??? Or are message facilities from incoming messages shifted appropriately, and the code for logger just didn't bother, i.e. my problem lies elsewhere? TIA, Robert