From owner-freebsd-questions Sat Jan 9 19:20:00 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA20297 for freebsd-questions-outgoing; Sat, 9 Jan 1999 19:20:00 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from bsdbox.dynip.com (mad-wi6-02.ix.netcom.com [204.31.243.130]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA20292 for ; Sat, 9 Jan 1999 19:19:56 -0800 (PST) (envelope-from chrisd@bsdbox.dynip.com) Received: from localhost (chrisd@localhost) by bsdbox.dynip.com (8.8.8/8.8.8) with SMTP id VAA08845 for ; Sat, 9 Jan 1999 21:02:00 -0600 (CST) (envelope-from chrisd@bsdbox.dynip.com) Date: Sat, 9 Jan 1999 21:01:59 -0600 (CST) From: Stingray To: questions@FreeBSD.ORG Subject: syslog Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This maybe somewhat off-topic, but here it goes anyway... I'm trying to write a simple program that uses syslog on my FreeBSD computer , but I can't get it to work: #include #include int main() { openlog("testing", LOG_NDELAY, LOG_DAEMON); syslog(LOG_DEBUG, "test"); closelog(); return 0; } It compiles, but when its run, it does nothing. does anyone know what's wrong with my program? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message