From owner-freebsd-hackers Mon Sep 1 14:39:53 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA21402 for hackers-outgoing; Mon, 1 Sep 1997 14:39:53 -0700 (PDT) Received: from counterintelligence.ml.org (mdean.vip.best.com [206.86.94.101]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id OAA21395 for ; Mon, 1 Sep 1997 14:39:49 -0700 (PDT) Received: from localhost (jamil@localhost) by counterintelligence.ml.org (8.8.7/8.8.5) with SMTP id OAA01844 for ; Mon, 1 Sep 1997 14:38:58 -0700 (PDT) Date: Mon, 1 Sep 1997 14:38:58 -0700 (PDT) From: "Jamil J. Weatherbee" To: freebsd-hackers@FreeBSD.ORG Subject: Re: Syslog Facility In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk I have looked at the code to lpd and pppd and I can't figure what I am doing wrong here. I am doing an: openlog (argv[0], LOG_PID|LOG_NDELAY, LOG_DAEMON); in main an later in another function syslog (LOG_ERR, "some message"); but the syslog facillity is refusing to log the process id number eg: date machine programname[pid]: message in the syslog, and it is driving me nuts as to why. Any ideas on this one? On Mon, 1 Sep 1997, Jamil J. Weatherbee wrote: > > Why is sysylog still using the varargs.h facility (instead of stdarg.h)? > Also am I right to assume that va_end() doesn't really do anything under > bsd? > > >