Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: Robert Lowe <Robert.H.Lowe@X-no.spam-X.lawrence.edu>
Subject: syslog facilities problem
Date: 2000/10/07	[thread overview]
Message-ID: <39DF71A1.437C8C77@X-no.spam-X.lawrence.edu> (raw)

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



             reply	other threads:[~2000-10-07  4:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-10-07  4:00 Robert Lowe [this message]
2000-10-09  1:20 ` syslog facilities problem Andrew Moar
2000-10-09  4:00   ` Robert Lowe
2000-10-10  4:00     ` Nick Hill
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox