From owner-freebsd-questions Wed Nov 11 13:44:32 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA06538 for freebsd-questions-outgoing; Wed, 11 Nov 1998 13:44:32 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from thor.afnetinc.com (thor.afnetinc.com [206.40.232.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA06533 for ; Wed, 11 Nov 1998 13:44:30 -0800 (PST) (envelope-from efinley@efinley.com) Received: from pm3-0-ip11.afnetinc.com ([206.40.232.90]) by thor.afnetinc.com with smtp (Exim 2.05 #1) id 0zdi3O-0002hH-00; Wed, 11 Nov 1998 14:43:54 -0700 From: efinley@efinley.com (Elliot Finley) To: Johann Visagie Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Q: logging to syslogd Date: Wed, 11 Nov 1998 21:44:57 GMT Organization: Hiawatha Coal Company Reply-To: efinley@efinley.com Message-ID: <364a04bf.18583173@mail.afnetinc.com> References: <364b79bb.4493761@mail.afnetinc.com> <19981111150439.A5424@cityip.co.za> In-Reply-To: <19981111150439.A5424@cityip.co.za> X-Mailer: Forte Agent 1.5/32.451 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id NAA06534 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I tried logger... This particular command (or program) runs continuously. I've tested logger with commands that eventually terminate, and it works just fine, but I can't get logger to log to syslogd from a program that doesn't terminate... I've even tried different permutations like 'command | xargs logger -t sometag' and it still will not log until the command terminates. On Wed, 11 Nov 1998 15:04:39 +0200, you wrote: >On Tue, 10 Nov 1998 at 17:38 SAST, Elliot Finley wrote: >> >> Is there any way to run a command and redirect it's stdout and >> stderr to the syslog daemon? > >See the man page for logger(1). > >-- V > >Johann Visagie | wjv@CityIP.co.za | Tel: +27 21 419-7878 | ICQ: 20645559 -- Later Science (efinley@efinley.com) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message