From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,b1501a542a4603ab,start X-Google-Attributes: gid1164f8,public X-Google-Thread: 10b612,b1501a542a4603ab,start X-Google-Attributes: gid10b612,public From: ddzeko@zems.fer.hr (Damir Dzeko) Subject: syslog problem Date: 1996/07/17 Message-ID: <4siuh1$cek@bagan.srce.hr>#1/1 X-Deja-AN: 169296010 distribution: world content-type: text/plain; charset=US-ASCII organization: FER mime-version: 1.0 newsgroups: comp.unix.ultrix,comp.sys.dec 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