Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* syslog problem
@ 1996-07-17  4:00 Damir Dzeko
  0 siblings, 0 replies; only message in thread
From: Damir Dzeko @ 1996-07-17  4:00 UTC (permalink / raw)



I'm having hard time with syslog on ULTRIX 4.2 0 RISC.
I don't know how to specify log facility to openlog function to LOG_AUTH

// Prototype looks like this:   int openlog(char *ident, logstat);   

So, when I try to log a message like this:

openlog("login", LOG_PID);
syslog(LOG_NOTICE, "login as %s from %s", user, host);

it is being ignored, although in my syslog.conf stands:

auth.debug			/var/log/authlog

Please send me answers by E-mail. TIA.

--damir;                                   //  mailto:ddzeko@zems.fer.hr

          



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-07-17  4:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-07-17  4:00 syslog problem Damir Dzeko

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