Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* syslog facilities problem
@ 2000-10-07  4:00 Robert Lowe
  2000-10-09  1:20 ` Andrew Moar
  0 siblings, 1 reply; 4+ messages in thread
From: Robert Lowe @ 2000-10-07  4:00 UTC (permalink / 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



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2000-10-10  4:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-10-07  4:00 syslog facilities problem Robert Lowe
2000-10-09  1:20 ` Andrew Moar
2000-10-09  4:00   ` Robert Lowe
2000-10-10  4:00     ` Nick Hill

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