From owner-freebsd-hackers Fri Sep 1 4:59:14 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from hermes.atrada.de (hermes.atrada.de [212.118.32.33]) by hub.freebsd.org (Postfix) with SMTP id 65ACC37B43F for ; Fri, 1 Sep 2000 04:59:12 -0700 (PDT) Received: from erlangen01.atrada.de by hermes.atrada.de via smtpd (for hub.FreeBSD.org [216.136.204.18]) with SMTP; 1 Sep 2000 11:59:12 UT Received: (private information removed) Message-ID: <58A002A02C5ED311812E0050044517F00D25DA@erlangen01.atrada.de> From: Alexander Maret To: "'freebsd-hackers@freebsd.org'" Subject: Redirect stdout/stderr to syslog [OFF-TOPIC] Date: Fri, 1 Sep 2000 13:58:56 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I wonder if it is possible to redirect stdout/stderr to syslog. Background: I'm writing a program which starts (fork=>execvp) and observes another program. I would like to redirect all output of the "execvped" program to syslog. I know this is not really FBSD related but I hope you can help me anyway. Please don't tell me that I should redirect the output to a file and not to syslog. I know how to redirect the output to a file (that's my prog doing at present state). Bye, Alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message